¡@

Home 

java Programming Glossary: swigcptr

SWIG Java Retaining Class information of the objects bouncing from C++

http://stackoverflow.com/questions/9817516/swig-java-retaining-class-information-of-the-objects-bouncing-from-c

new HashMap Long WeakReference javaclassname private long swigCPtr protected boolean swigCMemOwn public javaclassname long cPtr.. long cPtr boolean cMemoryOwn swigCMemOwn cMemoryOwn swigCPtr cPtr If derived add it. if getClass javaclassname.class instances.put.. add it. if getClass javaclassname.class instances.put swigCPtr new WeakReference javaclassname this Just the default one public..