refer arrow c-data jni (path: arrow/java/c)
c api and c++ api is different.
c api:
const char *str = (*env)->GetStringUTFChars(env, jstr, 0);
c++ api:
const char *str = env->GetStringUTFChars(jstr, 0);
refer arrow c-data jni (path: arrow/java/c)
c api and c++ api is different.
c api:
const char *str = (*env)->GetStringUTFChars(env, jstr, 0);
c++ api:
const char *str = env->GetStringUTFChars(jstr, 0);