jSObjectCopyPropertyNames top-level property

Pointer<NativeType> Function(Pointer<NativeType> ctx, Pointer<NativeType> object) jSObjectCopyPropertyNames
final

Gets the names of an object's enumerable properties. ctx (JSContextRef) The execution context to use. object (JSObjectRef) The object whose property names you want to get. @result (JSPropertyNameArrayRef) A JSPropertyNameArray containing the names object's enumerable properties. Ownership follows the Create Rule.

Implementation

final Pointer Function(Pointer ctx, Pointer object) jSObjectCopyPropertyNames =
    JscFfi.lib
        .lookup<NativeFunction<Pointer Function(Pointer, Pointer)>>(
            'JSObjectCopyPropertyNames')
        .asFunction();