Removed deprecated pragmas

Use %javaconst(1) for enums and constants


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-04-03 12:11:55 +00:00
commit d445b3594e
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
/* File : example.i */
%module example
/* Force the generated Java code to use the C constant values rather than making a JNI call */
%javaconst(1);
/* A few preprocessor macros */
#define ICONST 42