Home
last modified time | relevance | path

Searched refs:JTYPE (Results 1 – 4 of 4) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/swig/common/
DgdxPooledTypemap.i3 %define CREATE_POOLED_TYPEMAP(CTYPE, JTYPE, JCLASS, FROMJTOC, FROMCTOJ)
7 #define TOSTRING##JTYPE(X) "X"
10 SWIGINTERN inline jobject gdx_getReturn##JTYPE(JNIEnv * jenv) { in JTYPE() function
13 jclass tempClass = gdx_getTempClass##JTYPE(jenv); in JTYPE()
14 jfieldID field = jenv->GetStaticFieldID(tempClass, TOSTRING##JTYPE(static##JTYPE), JCLASS); in JTYPE()
21 SWIGINTERN inline void gdx_set##CTYPE##From##JTYPE(JNIEnv * jenv, CTYPE & target, jobject source) { in JTYPE() function
25 SWIGINTERN inline void gdx_set##CTYPE##From##JTYPE(JNIEnv * jenv, CTYPE * target, jobject source) { in JTYPE() function
26 gdx_set##CTYPE##From##JTYPE(jenv, *target, source); in JTYPE()
30 …SWIGINTERN inline void gdx_set##JTYPE##From##CTYPE(JNIEnv * jenv, jobject target, const CTYPE & so… in CTYPE()
34 …SWIGINTERN inline void gdx_set##JTYPE##From##CTYPE(JNIEnv * jenv, jobject target, const CTYPE * so… in CTYPE()
[all …]
DgdxPooledObject.i4 %define CREATE_POOLED_OBJECT_EXT(CTYPE, JTYPE, _JCLASS)
9 protected final static JTYPE temp = new JTYPE(0, false);
10 public static JTYPE internalTemp(long cPtr, boolean own) { in internalTemp()
15 …protected static final com.badlogic.gdx.utils.Pool<JTYPE> pool = new com.badlogic.gdx.utils.Pool<J…
17 protected JTYPE newObject() { in newObject()
18 return new JTYPE(0, false); in newObject()
22 public static JTYPE obtain(long cPtr, boolean own) { in obtain()
23 final JTYPE result = pool.obtain(); in obtain()
28 public static void free(final JTYPE inst) { in free()
34 %fragment(gdxToString(gdxPooled##JTYPE), "header") {
[all …]
DgdxPool.i20 %define CREATE_POOLED_METHODS(JTYPE, CLAZZ)
24 SWIGINTERN inline jclass gdx_getTempClass##JTYPE(JNIEnv * jenv) { in JTYPE() function
32 SWIGINTERN inline jobject gdx_takePoolObject##JTYPE(JNIEnv * jenv, const char * poolName) { in JTYPE() function
33 jclass tempClass = gdx_getTempClass##JTYPE(jenv); in JTYPE()
56 …SWIGINTERN inline void gdx_releasePoolObject##JTYPE(JNIEnv * jenv, const char * poolName, jobject … in JTYPE() function
57 jclass tempClass = gdx_getTempClass##JTYPE(jenv); in JTYPE()
84 class gdxPoolAutoRelease##JTYPE {
90 gdxPoolAutoRelease##JTYPE(JNIEnv * jenv, const char * poolName, jobject obj) : in JTYPE() function
92 virtual ~gdxPoolAutoRelease##JTYPE() { in JTYPE() function
93 gdx_releasePoolObject##JTYPE(this->jenv, this->poolName, this->obj); in JTYPE()
DgdxCriticalArrays.i1 %define JAVA_CRITICAL_ARRAYS_TYPEMAPS(CTYPE, JTYPE, JNITYPE, JFUNCNAME, JNIDESC)
4 %typemap(jtype) CTYPE[ANY], CTYPE[] %{JTYPE[]%}
5 %typemap(jstype) CTYPE[ANY], CTYPE[] %{JTYPE[]%}