MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / DefineAddon

Method DefineAddon

napi-inl.h:7069–7073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7067
7068template <typename T>
7069inline void Addon<T>::DefineAddon(
7070 Object exports, const std::initializer_list<AddonProp>& props) {
7071 DefineProperties(exports, props);
7072 entry_point_ = exports;
7073}
7074
7075template <typename T>
7076inline Napi::Object Addon<T>::DefineProperties(

Callers

nothing calls this directly

Calls 1

DefinePropertiesFunction · 0.50

Tested by

no test coverage detected