As per my experience, having multiple cscode for the same Class is not allowed in SWIG. Only the last cscode executed will have the effect and will override all the previous cscode effects.
I also wanted this feature to be enabled. But I got a reply from the list saying, this feature is currently not supported.
Thanks and Best Regards,
N Ravi
--------- Original Message ---------
Sender : Jeremy Cowles <[hidden email]>
Date : 2016-11-06 12:53 (GMT+5:30)
Title : [Swig-user] Multiple "cscode" typemaps?
Is it possible to have multiple cscode typemaps?
My use case is that I want to define part of it in a macro and the other part in the local class wrapping, for example to have a common macro to wrap operator==.
|
|
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Swig-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swig-user
Order your platform today.