jboolean JNICALL Java_com_baidu_javalite_PrepareStmt_sqlite3_1stmt_1busy( JNIEnv *env, jclass cls, jlong handle) { if (handle == 0) { throwSqliteException(env, "handle is NULL"); return 0; } sqlite3_stmt* stmt = (sqlite3_stmt*) handle; return sqlite3_stmt_busy(stmt) != 0; }
DLL_FUNCTION(int32_t) BU_SQLite_Statement_Busy(sqlite3_stmt* pStmt) { #pragma comment(linker, "/EXPORT:BU_SQLite_Statement_Busy=_BU_SQLite_Statement_Busy@4") return sqlite3_stmt_busy(pStmt); }