/[libvob]/libvob/include/vob/jni/Types.hxx
ViewVC logotype

Diff of /libvob/include/vob/jni/Types.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by tjl, Tue Mar 11 12:10:31 2003 UTC revision 1.15 by tjl, Tue Mar 11 12:57:04 2003 UTC
# Line 30  Types.hxx Line 30  Types.hxx
30  #include <vob/Types.hxx>  #include <vob/Types.hxx>
31  #include <vob/util/ObjectStorer.hxx>  #include <vob/util/ObjectStorer.hxx>
32  #include <vob/os/Os.hxx>  #include <vob/os/Os.hxx>
33    #include <vob/Debug.hxx>
34    
35  #include <vob/jni/Strings.hxx>  #include <vob/jni/Strings.hxx>
36    
37    
38  namespace Vob {  namespace Vob {
39  namespace JNI {  namespace JNI {
40        PREDBGVAR(dbg_convert);
41    
42      /** The JNI parameter template class.      /** The JNI parameter template class.
43       *       *
# Line 126  namespace JNI { Line 129  namespace JNI {
129      VOB_JNI_CONVERSION_ASSIGN(int, "int", jint)      VOB_JNI_CONVERSION_ASSIGN(int, "int", jint)
130    
131      START_VOB_JNI_CONVERSION(Token, "String", jstring)      START_VOB_JNI_CONVERSION(Token, "String", jstring)
132            DBG(dbg_convert) << "Converting token "<<in<<"\n";
133          out = tokenFromJstring(env, in);          out = tokenFromJstring(env, in);
134            DBG(dbg_convert) << "Converted token "<<out<<"\n";
135      END_VOB_JNI_CONVERSION      END_VOB_JNI_CONVERSION
136    
137    
138      START_VOB_JNI_CONVERSION_IDDED(GLubyte *, "GL.ByteVector")      START_VOB_JNI_CONVERSION_IDDED(GLubyte *, "GL.ByteVector")
139            DBG(dbg_convert) << "Converting bytevec "<<in<<"\n";
140          ByteVector *bv = bytevectors[in];          ByteVector *bv = bytevectors[in];
141            DBG(dbg_convert) << "Got bytevec "<<bv<<"\n";
142          out = &((*bv)[0]);          out = &((*bv)[0]);
143            DBG(dbg_convert) << "Got ptr "<<(int)out<<"\n";
144      END_VOB_JNI_CONVERSION      END_VOB_JNI_CONVERSION
145    
146      START_VOB_JNI_CONVERSION_IDDED(DisplayListID, "GL.DisplayList")      START_VOB_JNI_CONVERSION_IDDED(DisplayListID, "GL.DisplayList")

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26