Beispiel #1
0
 public static extern void JsObjectSetPropertyAtIndex([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("unsigned int")] uint propertyIndex,
                                                      [NativeTypeName("JSValueRef")] JsValue *value, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #2
0
 public static extern JsValue *JsValueMakeNull([NativeTypeName("JSContextRef")] JsContext *ctx);
Beispiel #3
0
 public static extern JsValue *JsValueMakeNumber([NativeTypeName("JSContextRef")] JsContext *ctx, double number);
Beispiel #4
0
 public static extern JsTypedArrayType JsValueGetTypedArrayType([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *value, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #5
0
 public static extern OneByteBoolean JsValueIsStrictEqual([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *a, [NativeTypeName("JSValueRef")] JsValue *b);
Beispiel #6
0
 public static extern JsValue *JsObjectMakeArrayBufferWithBytesNoCopy([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("void *")] void *bytes, [NativeTypeName("size_t")] UIntPtr byteLength,
                                                                      [NativeTypeName("JSTypedArrayBytesDeallocator")]
                                                                      IntPtr bytesDeallocator, [NativeTypeName("void *")] void *deallocatorContext, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #7
0
 public static extern OneByteBoolean JsValueIsObjectOfClass([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *value, [NativeTypeName("JSClassRef")] JsClass *jsClass);
Beispiel #8
0
 public static extern JsValue *ContextGetGlobalObject([NativeTypeName("JSContextRef")] JsContext *ctx);
Beispiel #9
0
 public static extern JsContextGroup *ContextGetGroup([NativeTypeName("JSContextRef")] JsContext *ctx);
Beispiel #10
0
 public static extern JsContext *GlobalContextRetain([NativeTypeName("JSGlobalContextRef")] JsContext *ctx);
Beispiel #11
0
 public static extern void GlobalContextRelease([NativeTypeName("JSGlobalContextRef")] JsContext *ctx);
Beispiel #12
0
 public static extern JsPropertyNameArray *JsObjectCopyPropertyNames([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object);
Beispiel #13
0
 public static extern JsValue *JsObjectCallAsConstructor([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("size_t")] UIntPtr argumentCount,
                                                         [NativeTypeName("const JSValueRef []")]
                                                         JsValue **arguments, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #14
0
 public static extern OneByteBoolean JsObjectIsConstructor([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object);
Beispiel #15
0
 public static extern UIntPtr JsObjectGetTypedArrayByteOffset([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #16
0
 public static extern JsContext *ContextGetGlobalContext([NativeTypeName("JSContextRef")] JsContext *ctx);
Beispiel #17
0
 public static extern JsValue *JsObjectGetTypedArrayBuffer([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #18
0
 public static extern JsString *GlobalContextCopyName([NativeTypeName("JSGlobalContextRef")] JsContext *ctx);
Beispiel #19
0
 public static extern UIntPtr JsObjectGetArrayBufferByteLength([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #20
0
 public static extern void GlobalContextSetName([NativeTypeName("JSGlobalContextRef")] JsContext *ctx, [NativeTypeName("JSStringRef")] JsString *name);
Beispiel #21
0
 public static extern OneByteBoolean JsValueIsDate([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *value);
Beispiel #22
0
 public static extern JsValue *JsObjectMakeTypedArray([NativeTypeName("JSContextRef")] JsContext *ctx, JsTypedArrayType arrayType, [NativeTypeName("size_t")] UIntPtr length, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #23
0
 public static extern OneByteBoolean JsValueIsEqual([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *a, [NativeTypeName("JSValueRef")] JsValue *b,
                                                    [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #24
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);
Beispiel #25
0
 public static extern OneByteBoolean JsValueIsInstanceOfConstructor([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSValueRef")] JsValue *value, [NativeTypeName("JSObjectRef")] JsValue *constructor,
                                                                    [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #26
0
 public static extern JsValue *JsObjectMakeTypedArrayWithArrayBuffer([NativeTypeName("JSContextRef")] JsContext *ctx, JsTypedArrayType arrayType, [NativeTypeName("JSObjectRef")] JsValue *buffer,
                                                                     [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #27
0
 public static extern JsValue *JsValueMakeBoolean([NativeTypeName("JSContextRef")] JsContext *ctx, OneByteBoolean boolean);
Beispiel #28
0
 public static extern JsValue *JsObjectMakeTypedArrayWithArrayBufferAndOffset([NativeTypeName("JSContextRef")] JsContext *ctx, JsTypedArrayType arrayType, [NativeTypeName("JSObjectRef")] JsValue *buffer,
                                                                              [NativeTypeName("size_t")] UIntPtr byteOffset, [NativeTypeName("size_t")] UIntPtr length, [NativeTypeName("JSValueRef *")] JsValue **exception);
Beispiel #29
0
 public static extern JsValue *JsValueMakeString([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSStringRef")] JsString * @string);
Beispiel #30
0
 public static extern OneByteBoolean JsObjectDeletePropertyForKey([NativeTypeName("JSContextRef")] JsContext *ctx, [NativeTypeName("JSObjectRef")] JsValue * @object, [NativeTypeName("JSValueRef")] JsValue *propertyKey,
                                                                  [NativeTypeName("JSValueRef *")] JsValue **exception);