jSValueMakeSymbol top-level property
Pointer<NativeType> Function(Pointer<NativeType> ctx, Pointer<NativeType> description)
jSValueMakeSymbol
final
Creates a JavaScript value of the symbol type.
ctx
(JSContextRef) The execution context to use.
description
(JSStringRef) A description of the newly created symbol value.
@result
(JSValueRef) A unique JSValue of the symbol type, whose description matches the one provided.
Implementation
final Pointer Function(Pointer ctx, Pointer description) jSValueMakeSymbol =
JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer, Pointer)>>(
'JSValueMakeSymbol')
.asFunction();