FACT++  1.0
JNIEXPORT jint JNICALL Java_dim_Client_send__Ljava_lang_String_2Ldim_CompletionHandler_2II_3F ( JNIEnv *  env,
jclass  This,
jstring  name,
jobject  theCompletionHandler,
jint  mode,
jint  timeout,
jfloatArray  dataArray 
)

Definition at line 779 of file dim_jni.c.

References DBG, dim_Dbg_SEND_NATIVE, Java_dim_Client_send__Ljava_lang_String_2Ldim_CompletionHandler_2II_3D(), and send_data().

Referenced by Java_dim_Client_send__Ljava_lang_String_2Ldim_CompletionHandler_2II_3J().

780 {
781  jfloat* nativeDataArray;
782  jint length;
783  jint ret;
784 
785  nativeDataArray = (*env)->GetFloatArrayElements(env,dataArray,0);
786  length = (jint)(*env)->GetArrayLength(env,dataArray) * (jint)sizeof(*nativeDataArray);
787 
789  if(This){}
790  ret = send_data(env, name, theCompletionHandler, mode, timeout, nativeDataArray, length);
791 
792  (*env)->ReleaseFloatArrayElements(env,dataArray,nativeDataArray,JNI_ABORT);
793  return ret;
794 }
int mode
jint send_data(JNIEnv *env, jstring name, jobject theCompletionHandler, jint mode, jint timeout, void *data_address, int data_size)
Definition: dim_jni.c:437
static char * send_data_format
Definition: dim_jni.c:433
#define dim_Dbg_SEND_NATIVE
Definition: dim_jni.h:36
if(extraDns) new Dns
#define DBG(test)
Definition: dim_jni.c:63

+ Here is the call graph for this function:

+ Here is the caller graph for this function: