static jboolean putNull_native(JNIEnv * env, jobject object, jint row, jint col) { CursorWindow * window = GET_WINDOW(env, object); if (!window->putNull(row, col)) { LOG_WINDOW(" getFieldSlotWithCheck error "); return false; } LOG_WINDOW("%d,%d is NULL", row, col); return true; }
static jboolean nativePutNull(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) { CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); status_t status = window->putNull(row, column); if (status) { LOG_WINDOW("Failed to put null. error=%d", status); return false; } LOG_WINDOW("%d,%d is NULL", row, column); return true; }