jsGetOwnPropertyNames top-level property

int Function(Pointer<JSContext> ctx, Pointer<Pointer<JSPropertyEnum>> ptab, Pointer<Uint32> plen, Pointer<JSValue> obj, int flags) jsGetOwnPropertyNames
final

int jsGetOwnPropertyNames(JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst *obj, int flags)

Implementation

final int Function(
  Pointer<JSContext> ctx,
  Pointer<Pointer<JSPropertyEnum>> ptab,
  Pointer<Uint32> plen,
  Pointer<JSValue> obj,
  int flags,
) jsGetOwnPropertyNames = _qjsLib
    .lookup<
        NativeFunction<
            Int32 Function(
              Pointer<JSContext>,
              Pointer<Pointer<JSPropertyEnum>>,
              Pointer<Uint32>,
              Pointer<JSValue>,
              Int32,
            )>>('jsGetOwnPropertyNames')
    .asFunction();