diff options
Diffstat (limited to 'src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub')
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub b/src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub index 6643108..9d58e02 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test2-CustomJavaImplCode.java.stub @@ -1,10 +1,10 @@ - public void alEventCallback0Inject(Object userParam, int eventType, int object, int param, String message) { - final Object userParam2; + public void alEventCallback0Inject(ALCcontext userParam, int eventType, int object, int param, String message) { + final ALCcontext userParam2; final AlEventCallback0Data value; synchronized( alEventCallback0Lock ) { final AlEventCallback0Data value0 = alEventCallback0DataMap.get( new AlEventCallback0Key( userParam ) ); if( null != value0 ) { - userParam2 = alEventCallback0UserObjIDMap.get(value0.paramID); + userParam2 = (ALCcontext) alEventCallback0UserObjIDMap.get(value0.paramID); if( userParam != userParam2 ) { throw new InternalError("Impl issue-1: Arg userParam "+userParam+" != "+userParam2); } @@ -21,13 +21,13 @@ value.func.callback(eventType, object, param, message.length(), message, userParam2); } - public void alEventCallback1Inject(Object userParam, int eventType, int object, int param, String message) { - final Object userParam2; + public void alEventCallback1Inject(ALCcontext userParam, int eventType, int object, int param, String message) { + final ALCcontext userParam2; final AlEventCallback1Data value; synchronized( alEventCallback1Lock ) { final AlEventCallback1Data value0 = alEventCallback1DataMap.get( new AlEventCallback1Key( object, userParam ) ); if( null != value0 ) { - userParam2 = alEventCallback1UserObjIDMap.get(value0.paramID); + userParam2 = (ALCcontext) alEventCallback1UserObjIDMap.get(value0.paramID); if( userParam != userParam2 ) { throw new InternalError("Impl issue-1: Arg userParam "+userParam+" != "+userParam2); } |