MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / xOpen

Method xOpen

src/util/custom-table.cpp:162–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 static int xOpen(sqlite3_vtab* vtab, sqlite3_vtab_cursor** output) {
163 *output = (new Cursor())->Downcast();
164 return SQLITE_OK;
165 }
166
167 static int xClose(sqlite3_vtab_cursor* cursor) {
168 delete Cursor::Upcast(cursor);

Callers

nothing calls this directly

Calls 1

DowncastMethod · 0.45

Tested by

no test coverage detected