diff options
Diffstat (limited to 'src/junit/com')
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test1.h | 2 | ||||
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/internals/TestType.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h b/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h index 1b97437..8bc7208 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h @@ -365,7 +365,7 @@ typedef struct { const int32_t structPointerCustomLenVal; const TK_Dimension * structPointerOneElem; - const TK_Context ctx; + TK_Context ctx; const char modelNameArrayFixedLen[12]; /* 'Hello Array' len=11+1 */ const char * modelNamePointerCString; /* 'Hello CString' len=13+1 */ diff --git a/src/junit/com/jogamp/gluegen/test/junit/internals/TestType.java b/src/junit/com/jogamp/gluegen/test/junit/internals/TestType.java index 1b83d0c..84fc463 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/internals/TestType.java +++ b/src/junit/com/jogamp/gluegen/test/junit/internals/TestType.java @@ -43,10 +43,10 @@ public class TestType extends SingletonJunitCase { @Test public void test01Equals() { - final FloatType f1 = new FloatType("GLfloat", null, 0); - final FloatType f2 = new FloatType("float", null, 0); - final IntType i1 = new IntType("GLint", null, false, 0); - final IntType i2 = new IntType("int", null, false, 0); + final FloatType f1 = new FloatType("GLfloat", null, 0, null); + final FloatType f2 = new FloatType("float", null, 0, null); + final IntType i1 = new IntType("GLint", null, false, 0, null); + final IntType i2 = new IntType("int", null, false, 0, null); final int f1H = f1.hashCode(); final int f2H = f2.hashCode(); final int i1H = i1.hashCode(); |