Searched refs:sbu (Results 1 – 1 of 1) sorted by relevance
1570 static int cleanupbu(lua_State *L, sdb_bu *sbu) { in cleanupbu() argument1572 if (!sbu->bu) return 0; /* already finished */ in cleanupbu()1575 lua_pushlightuserdata(L, sbu->bu); in cleanupbu()1579 lua_pushinteger(L, sqlite3_backup_finish(sbu->bu)); in cleanupbu()1580 sbu->bu = NULL; in cleanupbu()1595 sdb_bu *sbu = (sdb_bu*)lua_newuserdata(L, sizeof(sdb_bu)); in lsqlite_backup_init() local1599 sbu->bu = bu; in lsqlite_backup_init()1621 sdb_bu *sbu = (sdb_bu*)luaL_checkudata(L, index, sqlite_bu_meta); in lsqlite_getbu() local1622 if (sbu == NULL) luaL_typerror(L, index, "sqlite database backup"); in lsqlite_getbu()1623 return sbu; in lsqlite_getbu()[all …]