Searched refs:fromJava (Results 1 – 1 of 1) sorted by relevance
1167 const char *fromJava; in copyToNewString() local1170 fromJava = (*env)->GetStringUTFChars(env, source, NULL); in copyToNewString()1171 if (fromJava == NULL) return NULL; in copyToNewString()1173 newString = (char *) malloc(strlen(fromJava) + 1); in copyToNewString()1174 strcpy(newString, fromJava); in copyToNewString()1175 (*env)->ReleaseStringUTFChars(env, source, fromJava); in copyToNewString()