nodeApiCreateObjectWithProperties function
- @experimental
- @Available.new(node: '>=24.12.0 <25.0.0 || >=25.2.0')
- @Native<Int32 Function(NapiEnv, NapiValue, Pointer<NapiValue>, Pointer<NapiValue>, Size, Pointer<NapiValue>)>(NapiEnv, NapiValue, Pointer<NapiValue>, Pointer<NapiValue>, Size, Pointer<NapiValue>)>(symbol: 'node_api_create_object_with_properties')
int
nodeApiCreateObjectWithProperties(
- NapiEnv env,
- NapiValue prototypeOrNull,
- Pointer<NapiValue> propertyNames,
- Pointer<NapiValue> propertyValues,
- int propertyCount,
- Pointer<NapiValue> result,
)
Implementation
@experimental
@Available(node: '>=24.12.0 <25.0.0 || >=25.2.0')
@Native<
Int32 Function(
NapiEnv,
NapiValue,
Pointer<NapiValue>,
Pointer<NapiValue>,
Size,
Pointer<NapiValue>,
)
>(symbol: 'node_api_create_object_with_properties')
external int nodeApiCreateObjectWithProperties(
NapiEnv env,
NapiValue prototypeOrNull,
Pointer<NapiValue> propertyNames,
Pointer<NapiValue> propertyValues,
int propertyCount,
Pointer<NapiValue> result,
);