FACT++  1.0
JNIEXPORT jlong JNICALL Java_dim_MutableMemory_allocateNativeDataBlock ( JNIEnv *  env,
jclass  nativeClass,
jint  size 
)

Definition at line 2059 of file dim_jni.c.

References DBGx, dim_Dbg_MEMORY_ALLOCATE, Java_dim_MutableMemory_releaseNativeDataBlock(), Memory::malloc(), and size.

Referenced by Java_dim_Memory_copyIntoDoubleArray().

2060 {
2061  jlong address;
2062  if(env){}
2063  if(nativeClass){}
2064 // DBGe(dim_Dbg_MEMORY_ALLOCATE) ; /* report only */
2065  address = (jlong) malloc((size_t)size);
2066  DBGx(dim_Dbg_MEMORY_ALLOCATE) printf("DimJNI: MutableMemory.allocateNativeDataBlock of %d bytes at 0x%08lx\n", size, address);
2067  return address;
2068 }
#define dim_Dbg_MEMORY_ALLOCATE
Definition: dim_jni.c:17
void * malloc()
Definition: EventBuilder.cc:99
#define DBGx(test)
Definition: dim_jni.c:66
int size
Definition: db_dim_server.c:17

+ Here is the call graph for this function:

+ Here is the caller graph for this function: