fix overloading of jboolean with other JNI types at the c++ level for some platforms (64bit Linux)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
968eb8287a
commit
d841f7a66c
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ public class java_jnitypes_runme {
|
|||
double doubleArray[] = new double[] {10.0, 20.0};
|
||||
Test objectArray[] = new Test[] {new Test(), test};
|
||||
|
||||
if (java_jnitypes.jnifunc(true) != true) testFailed("jboolean");
|
||||
if (java_jnitypes.jnifunc_bool(true) != true) testFailed("jboolean");
|
||||
if (java_jnitypes.jnifunc('A') != 'A') testFailed("jchar");
|
||||
if (java_jnitypes.jnifunc((byte)100) != (byte)100) testFailed("jbyte");
|
||||
if (java_jnitypes.jnifunc((short)100) != (short)100) testFailed("jshort");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue