示例#1
0
 public static JsValue *JsObjectMakeConstructor(JsContext *ctx, JsClass *jsClass, FnPtr <ObjectCallAsConstructorCallback> callAsConstructor)
 => JsObjectMakeConstructor(ctx, jsClass, (IntPtr)callAsConstructor);
示例#2
0
 public static JsValue *JsObjectMakeTypedArrayWithBytesNoCopy(JsContext *ctx, JsTypedArrayType arrayType, void *bytes, UIntPtr byteLength, FnPtr <TypedArrayBytesDeallocatorCallback> bytesDeallocator, void *deallocatorContext,
                                                              JsValue **exception)
 => JsObjectMakeTypedArrayWithBytesNoCopy(ctx, arrayType, bytes, byteLength, (IntPtr)bytesDeallocator, deallocatorContext, exception);
示例#3
0
 public static JsValue *JsObjectMakeFunctionWithCallback(JsContext *ctx, JsString *name, FnPtr <ObjectCallAsFunctionCallback> callAsFunction)
 => JsObjectMakeFunctionWithCallback(ctx, name, (IntPtr)callAsFunction);