P
Philip Smith
Does anyone use SWIG?????
I'm having trouble patching it to allow me to compile wrappers in Borland
C++ Builder because Borland will insist on adding underscores to symbols.
Turn this off and it won't link the Python library.
The answer is to declare init_function and any other exported functions as
__stdcall. Easy enough to patch the SWIG file for the init_function but I
can't for the life of me see how to automate this process for other exports.
Any ideas??
Phil
I'm having trouble patching it to allow me to compile wrappers in Borland
C++ Builder because Borland will insist on adding underscores to symbols.
Turn this off and it won't link the Python library.
The answer is to declare init_function and any other exported functions as
__stdcall. Easy enough to patch the SWIG file for the init_function but I
can't for the life of me see how to automate this process for other exports.
Any ideas??
Phil