setProperty method

void setProperty(
  1. Pointer<Void> ctxHandle,
  2. Pointer<QjsResult> obj,
  3. String prop,
  4. Pointer<QjsResult> val,
)

Implementation

void setProperty(
  Pointer<Void> ctxHandle,
  Pointer<QjsResult> obj,
  String prop,
  Pointer<QjsResult> val,
) {
  final cprop = prop.toNativeUtf8();
  _setProperty(ctxHandle, obj, cprop, val);
  ffi.malloc.free(cprop);
}