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

Method CustomTable

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

Source from the content-addressed store, hash-verified

2public:
3
4 explicit CustomTable(
5 v8::Isolate* isolate,
6 Database* db,
7 const char* name,
8 v8::Local<v8::Function> factory
9 ) :
10 addon(db->GetAddon()),
11 isolate(isolate),
12 db(db),
13 name(name),
14 factory(isolate, factory) {}
15
16 static void Destructor(void* self) {
17 delete static_cast<CustomTable*>(self);

Callers

nothing calls this directly

Calls 1

GetAddonMethod · 0.80

Tested by

no test coverage detected