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

Method SetCode

src/util/constants.cpp:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 void SetCode(v8::Isolate* isolate, int code, const char* str) {
166 codes.emplace(std::piecewise_construct,
167 std::forward_as_tuple(code),
168 std::forward_as_tuple(isolate, InternalizedFromLatin1(isolate, str)));
169 }
170
171 std::unordered_map<int, v8::Global<v8::String> > codes;
172};

Callers

nothing calls this directly

Calls 1

InternalizedFromLatin1Function · 0.85

Tested by

no test coverage detected