aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_opt_unlock_notify.c
diff options
context:
space:
mode:
authorMura Li <mura_li@example.com>2018-10-20 23:02:18 +0800
committerMura Li <mura_li@example.com>2018-10-20 23:02:21 +0800
commit68e53de11e397371ecbe3fd3ff56808a7a618795 (patch)
treef02ec47154c3cd4f0f04204345e87870bd21e180 /sqlite3_opt_unlock_notify.c
parentAdd support for sqlite3_unlock_notify (diff)
downloadgolite-68e53de11e397371ecbe3fd3ff56808a7a618795.tar.gz
golite-68e53de11e397371ecbe3fd3ff56808a7a618795.tar.xz
Rename the wrapper functions to not pollute the sqlite3_* namespace
Diffstat (limited to 'sqlite3_opt_unlock_notify.c')
-rw-r--r--sqlite3_opt_unlock_notify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlite3_opt_unlock_notify.c b/sqlite3_opt_unlock_notify.c
index c481adb..1af1726 100644
--- a/sqlite3_opt_unlock_notify.c
+++ b/sqlite3_opt_unlock_notify.c
@@ -10,7 +10,7 @@
extern int unlock_notify_wait(sqlite3 *db);
int
-sqlite3_step_blocking(sqlite3_stmt *stmt)
+_sqlite3_step_blocking(sqlite3_stmt *stmt)
{
int rv;
sqlite3* db;
@@ -35,7 +35,7 @@ sqlite3_step_blocking(sqlite3_stmt *stmt)
}
int
-_sqlite3_step_blocking(sqlite3_stmt* stmt, long long* rowid, long long* changes)
+_sqlite3_step_row_blocking(sqlite3_stmt* stmt, long long* rowid, long long* changes)
{
int rv;
sqlite3* db;
@@ -62,7 +62,7 @@ _sqlite3_step_blocking(sqlite3_stmt* stmt, long long* rowid, long long* changes)
}
int
-sqlite3_prepare_v2_blocking(sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail)
+_sqlite3_prepare_v2_blocking(sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail)
{
int rv;