Example #1
0
 public static extern int JS_ToIndex(JSContext ctx, out uint64_t plen, JSValueConst val);
Example #2
0
 public static extern JSValue JSB_NewBridgeClassValue(JSContext ctx, JSValue new_target, int32_t size);
Example #3
0
 public static extern int32_t JSB_GetBridgeType(JSContext ctx, JSValue obj);
Example #4
0
 public static extern JSValue jsb_construct_bridge_object(JSContext ctx, JSValue proto, int32_t object_id);
Example #5
0
 public static extern JSValue JSB_NewBridgeClassObject(JSContext ctx, JSValue new_target, int object_id);
Example #6
0
 public static extern JSAtom JS_GetModuleName(JSContext ctx, JSModuleDef m);
Example #7
0
 public static extern IntPtr JS_GetArrayBuffer(JSContext ctx, out size_t psize, JSValueConst obj);
Example #8
0
 public static extern unsafe JSValue JS_ReadObject(JSContext ctx, byte *buf, size_t buf_len, int flags);
Example #9
0
 public static extern unsafe JSValue JS_Eval(JSContext ctx, byte *input, size_t input_len, byte *filename, JSEvalFlags eval_flags);
Example #10
0
 public static extern void js_free(JSContext ctx, IntPtr ptr);
Example #11
0
 public static extern IntPtr JS_WriteObject(JSContext ctx, out size_t psize, JSValueConst obj, int flags);
Example #12
0
 public static extern JS_BOOL JSB_ToUint32(JSContext ctx, out uint32_t pres, JSValueConst val);
Example #13
0
 public static extern uint32_t JSB_ToUint32z(JSContext ctx, JSValueConst val);
Example #14
0
 public static extern int JS_ToFloat64(JSContext ctx, out double pres, JSValueConst val);
Example #15
0
 public static extern void JS_FreeCString(JSContext ctx, IntPtr ptr);
Example #16
0
 public static extern JSValue JS_EvalFunction(JSContext ctx, JSValue fun_obj);
Example #17
0
 public static extern JSValue JS_GetImportMeta(JSContext ctx, JSModuleDef m);
Example #18
0
 public static extern int JS_ResolveModule(JSContext ctx, JSValueConst obj);
Example #19
0
 public static extern unsafe IntPtr js_strndup(JSContext ctx, byte *s, size_t n);
Example #20
0
        public static bool JS_IsBigInt(JSContext ctx, JSValueConst v)
        {
            var tag = v.tag;

            return(tag == JS_TAG_BIG_INT);
        }
Example #21
0
 public static extern unsafe JSValue JS_NewArrayBufferCopy(JSContext ctx, byte *buf, size_t len);
Example #22
0
 public static extern JSValue JS_DupValue(JSContext ctx, JSValueConst v);
Example #23
0
 public static extern JSValue jsb_new_bridge_object(JSContext ctx, JSValue proto, int object_id);
Example #24
0
 public static extern void JS_FreeValue(JSContext ctx, JSValue v);
Example #25
0
 public static extern JSValue jsb_new_bridge_value(JSContext ctx, JSValue proto, uint32_t size);
Example #26
0
 public static extern IntPtr JS_ToCStringLen2(JSContext ctx, out size_t len, [In] JSValue val,
                                              [MarshalAs(UnmanagedType.Bool)] bool cesu8);
Example #27
0
 public static extern JS_BOOL JSB_SetBridgeType(JSContext ctx, JSValue obj, int32_t type);
Example #28
0
 public static IntPtr JS_ToCStringLen(JSContext ctx, out size_t len, JSValue val)
 {
     return(JS_ToCStringLen2(ctx, out len, val, false));
 }
Example #29
0
 public static extern JSPayloadHeader JSB_FreePayload(JSContext ctx, JSValue val);
Example #30
0
 public static extern int JS_ToInt64(JSContext ctx, out int64_t pres, JSValueConst val);