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

Method Add

src/util/bind-map.cpp:50–54  ·  view source on GitHub ↗

Adds a pair to the bind map, expanding the capacity if necessary.

Source from the content-addressed store, hash-verified

48
49 // Adds a pair to the bind map, expanding the capacity if necessary.
50 void Add(v8::Isolate* isolate, const char* name, int index) {
51 assert(name != NULL);
52 if (capacity == length) Grow(isolate);
53 new (pairs + length++) Pair(isolate, name, index);
54 }
55
56private:
57

Callers 1

GetBindMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected