csconstvalue seems unusable

Shawn Laptiste <[email protected]>
Newsgroups gmane.comp.programming.swig
Message-ID <CALWYZCd+0BBPefa96kbJM0nXgGUmDAcqzwMm7XCePWA5yZPMmg@mail.gmail.com>
I'm in the process of revising the swig file that, in conjunction with some
python scripts, takes care of transforming our C/C++ API into a C# API for
our Unity users. Our API has a number of constants that are being specified
using code similar to the following:
%constant IntegerType InvalidId = unchecked((ulong)(-1));
I have spent some time investigating %csconst and %csconstvalue, and I
believe %csconstvalue is what I need, but I can't figure out why it keeps
failing with the following console error:
MyDrive:\ObscuredFolders\SwigFile.swig(11) : Error: Syntax error in
input(1).

Any help would be greatly appreciated!
Shawn Laptiste

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.