public static int wrapper_free(DirectBuffer buffer) { SWIGTYPE_p_direct_buffer handle = buffer.getHandle(); buffer.invalidate(); if (handle == null) return 0; int rc = _SQLiteManualJNI.wrapper_free(SWIGTYPE_p_direct_buffer.getCPtr(handle)); return rc; }
public static int wrapper_bind_buffer( SWIGTYPE_p_sqlite3_stmt stmt, int index, DirectBuffer buffer) { SWIGTYPE_p_direct_buffer handle = buffer.getHandle(); if (handle == null) return SQLiteConstants.WRAPPER_WEIRD; int size = buffer.getPosition(); return _SQLiteManualJNI.wrapper_bind_buffer( SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt), index, SWIGTYPE_p_direct_buffer.getCPtr(handle), size); }
public static int uninstall_progress_handler(SWIGTYPE_p_sqlite3 db, ProgressHandler handler) { SWIGTYPE_p_direct_buffer pointer = handler.dispose(); if (pointer == null) return 0; return _SQLiteManualJNI.uninstall_progress_handler( SWIGTYPE_p_sqlite3.getCPtr(db), SWIGTYPE_p_direct_buffer.getCPtr(pointer)); }