jsDefinePropertyValue top-level property

int Function(Pointer<JSContext> ctx, Pointer<JSValue> thisObj, int prop, Pointer<JSValue> val, int flag) jsDefinePropertyValue
final

int jsDefinePropertyValue(JSContext *ctx, JSValueConst *this_obj, JSAtom prop, JSValue *val, int flags)

Implementation

final int Function(
  Pointer<JSContext> ctx,
  Pointer<JSValue> thisObj,
  int prop,
  Pointer<JSValue> val,
  int flag,
) jsDefinePropertyValue = _qjsLib
    .lookup<
        NativeFunction<
            Int32 Function(
              Pointer<JSContext>,
              Pointer<JSValue>,
              Uint32,
              Pointer<JSValue>,
              Int32,
            )>>('jsDefinePropertyValue')
    .asFunction();