For compatibility with SWIG < 1.3.22, test the swig version before using the new
java enum handling way.
This commit is contained in:
parent
3fe2256876
commit
b31f29eab1
|
@ -73,7 +73,9 @@
|
|||
%}
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
%include "enumsimple.swg"
|
||||
#if SWIG_version == "1.3.22"
|
||||
%include "enumsimple.swg"
|
||||
#endif
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue