Fix typo: carry -> carray

master
Graham 5 years ago
parent 409306d7ed
commit cf6597f45f
  1. 4
      gl-natives/src/main/c/jaggl.c

@ -54,8 +54,8 @@
#define JAGGL_GET_BUFFER(env, obj, obj_off) \
void *obj ## _ptr; \
if (obj) { \
void *obj ## _carry = (*env)->GetDirectBufferAddress(env, obj); \
obj ## _ptr = (void *) ((uintptr_t) obj ## _carry + (size_t) obj_off); \
void *obj ## _carray = (*env)->GetDirectBufferAddress(env, obj); \
obj ## _ptr = (void *) ((uintptr_t) obj ## _carray + (size_t) obj_off); \
} else { \
obj ## _ptr = NULL; \
}

Loading…
Cancel
Save