src/main/c/jnlua.c
static jbyteArray newbytearray(jsize length) {
	jbyteArray array;

	array = (*thread_env)->NewByteArray(thread_env, length);
	if (!check(array != NULL, luamemoryallocationexception_class, "JNI error: NewByteArray() failed")) {
		return NULL;
	}
	return array;
}
/* Return a new JNI byte array. */
Return a new JNI byte array.
Return a new JNI byte array .
static jbyteArray newbytearray(jsize length) {
	jbyteArray array;
	array = (*thread_env)->NewByteArray(thread_env, length);
	if (!check(array != NULL, luamemoryallocationexception_class, "JNI error: NewByteArray() failed")) {
		return NULL;
	}
	return array;
}
static jbyteArray newbytearray ( jsize length ) { jbyteArray array ; array = ( * thread_env ) -> NewByteArray ( thread_env , length ) ; if ( ! check ( array != NULL , luamemoryallocationexception_class , " " ) ) { return NULL ; } return array ; }
Return a new JNI byte array.
Return a new JNI byte array .