/* File : example.i */
%module ExampleConstants

/* Force the generated SSharp code to use the C constant values instead of generationg wrapper calls */

/*
Somehow in the refactoring of this module, this feature got broken.  It's probably a minor problem to fix
(it was working before) but I will look into it later.  For now just use the stconstembed feature.
*/

/* %stconst(1); */

/*

Switch: stconstembed
You can use this feature instead of stconst

Enabling this will generate the C function outputSWIGConstants.   When it is called, it will generate a file with
the constant values printed out from the DLL itself.  This process can be more robust than getting SWIG to parse
header files for enum values, etc.

On windows, you can use the tool genconst.exe in the lib/smalltalk.
For example, on the command-line, execute:  "genconst ExampleConstants.dll"
This will call the outputSWIGConstants DLL function, which will generate the ExampleConstantsEmbeddedConstants.ssi file.

*/

%stconstembed(1);

%{
#include "example_constants.h"
%}

%include "example_constants.h"

