Exemplo n.º 1
0
 public static JsValue *JsObjectMakeConstructor(JsContext *ctx, JsClass *jsClass, FnPtr <ObjectCallAsConstructorCallback> callAsConstructor)
 => JsObjectMakeConstructor(ctx, jsClass, (IntPtr)callAsConstructor);
Exemplo n.º 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);
Exemplo n.º 3
0
 public static JsValue *JsObjectMakeFunctionWithCallback(JsContext *ctx, JsString *name, FnPtr <ObjectCallAsFunctionCallback> callAsFunction)
 => JsObjectMakeFunctionWithCallback(ctx, name, (IntPtr)callAsFunction);