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

Function SetFrozen

src/util/helpers.cpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34inline void SetFrozen(Napi::Env env, Napi::Object obj, const Napi::Reference<Napi::String>& key, Napi::Value value) {
35 obj.DefineProperty(Napi::PropertyDescriptor::Value(key.Value(), value, napi_enumerable));
36}
37
38// The following helpers perform JavaScript operations that can execute
39// arbitrary user code (functions, proxies, getters). If the user code throws,

Callers 4

NODE_METHODFunction · 0.85
NODE_METHODFunction · 0.85
NODE_METHODFunction · 0.85
NODE_METHODFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected