/[libvob]/libvob/src/jni/TexAccum.cxx
ViewVC logotype

Diff of /libvob/src/jni/TexAccum.cxx

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

revision 1.4 by tjl, Mon Jun 23 14:53:19 2003 UTC revision 1.5 by tjl, Mon Aug 4 07:57:56 2003 UTC
# Line 53  DBGVAR(dbg_texaccum, "JNI.texaccum"); Line 53  DBGVAR(dbg_texaccum, "JNI.texaccum");
53    
54  Stats::Statistics statistics;  Stats::Statistics statistics;
55    
56  ObjectStorer<TexAccum_JNI> texaccums("texaccums");  ObjectStorer<Stats::TexAccum> texaccums("texaccums");
57    
58  jclass globalclass_WeakStatsCaller = 0;  jclass globalclass_WeakStatsCaller = 0;
59  jmethodID WSC_call = 0;  jmethodID WSC_call = 0;
# Line 105  jf( jint, impl_1TexAccum_1create_1cb ) Line 105  jf( jint, impl_1TexAccum_1create_1cb )
105    
106  jf( void, impl_1TexAccum_1delete )  jf( void, impl_1TexAccum_1delete )
107          (JNIEnv *env, jclass, jint id) {          (JNIEnv *env, jclass, jint id) {
108      TexAccum_JNI *accum = texaccums.get(id);      // We know only TexAccum_JNIs get into texaccums
109        TexAccum_JNI *accum = (TexAccum_JNI *)texaccums.get(id);
110      accum->prepareToDelete(env);      accum->prepareToDelete(env);
111      texaccums.remove(id);      texaccums.remove(id);
112  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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