jSGlobalContextSetName top-level property

void Function(Pointer<NativeType> ctx, Pointer<NativeType> name) jSGlobalContextSetName
final

Sets the remote debugging name for a context. ctx (JSGlobalContextRef) The JSGlobalContext that you want to name. name (JSStringRef) The remote debugging name to set on ctx.

Implementation

final void Function(Pointer ctx, Pointer name) jSGlobalContextSetName = JscFfi
    .lib
    .lookup<NativeFunction<Void Function(Pointer, Pointer)>>(
        'JSGlobalContextSetName')
    .asFunction();