jSValueMakeString top-level property
Pointer<NativeType> Function(Pointer<NativeType> ctx, Pointer<NativeType> string)
jSValueMakeString
final
Creates a JavaScript value of the string type.
ctx
(JSContextRef) The execution context to use.
string
(JSStringRef) The JSString to assign to the newly created JSValue. The newly created JSValue retains string, and releases it upon garbage collection.
@result
(JSValueRef) A JSValue of the string type, representing the value of string.
Implementation
final Pointer Function(Pointer ctx, Pointer string) jSValueMakeString = JscFfi
.lib
.lookup<NativeFunction<Pointer Function(Pointer, Pointer)>>(
'JSValueMakeString')
.asFunction();