Thanks for the suggestion! I didn’t realize Swig supported this, and I’d looked for it in the past.
Do you happen to know if the Swig version when this first appeared (I think we’re on the latest now, so it’s not critical in terms of us using it, but I’m curious as to whether my lack of knowledge was a long-standing documentation failure or just something recent I hadn’t noticed).