diff options
Diffstat (limited to 'jim-sqlite3.c')
-rw-r--r-- | jim-sqlite3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jim-sqlite3.c b/jim-sqlite3.c index 8f603df..228e3bc 100644 --- a/jim-sqlite3.c +++ b/jim-sqlite3.c @@ -278,6 +278,9 @@ static int JimSqliteOpenCommand(Jim_Interp *interp, int argc, Jim_Obj *const *ar int Jim_sqlite3Init(Jim_Interp *interp) { + if (Jim_PackageProvide(interp, "sqlite3", "1.0", JIM_ERRMSG)) + return JIM_ERR; + Jim_CreateCommand(interp, "sqlite3.open", JimSqliteOpenCommand, NULL, NULL); return JIM_OK; } |