示例#1
0
 public static extern IntPtr JS_ToCStringLen2(JSContext ctx, out size_t len, [In] JSValue val,
                                              [MarshalAs(UnmanagedType.Bool)] bool cesu8);
示例#2
0
 public static extern void JS_FreeValue(JSContext ctx, JSValue v);
示例#3
0
 public static extern void JS_FreeValueRT(JSRuntime rt, JSValue v);
示例#4
0
 public static extern int JS_ToInt32(JSContext ctx, out int pres, JSValue val);
示例#5
0
 public static extern JSValue JS_EvalFunction(JSContext ctx, JSValue fun_obj);
示例#6
0
 public static extern int JS_DefinePropertyValueStr(JSContext ctx, JSValueConst this_obj,
                                                    [MarshalAs(UnmanagedType.LPStr)] string prop,
                                                    JSValue val, JSPropFlags flags);
示例#7
0
 public static extern unsafe int JS_SetPropertyStr(JSContext ctx, [In] JSValueConst this_obj, byte *prop,
                                                   JSValue val);
示例#8
0
 public static extern int JS_SetPropertyUint32(JSContext ctx, JSValueConst this_obj, uint32_t idx, JSValue val);
示例#9
0
 public static extern int JS_SetPropertyInt64(JSContext ctx, JSValueConst this_obj, int64_t idx, JSValue val);
示例#10
0
 public static extern int JS_SetPropertyInternal(JSContext ctx, JSValueConst this_obj, JSAtom prop, JSValue val,
                                                 int flags);
示例#11
0
 public static int JS_SetProperty(JSContext ctx, JSValueConst this_obj, JSAtom prop, JSValue val)
 {
     return(JS_SetPropertyInternal(ctx, this_obj, prop, val, (int)JSPropFlags.JS_PROP_THROW));
 }
示例#12
0
 public static extern void JS_SetClassProto(JSContext ctx, JSClassID class_id, JSValue obj);
示例#13
0
 public static extern JSValue JS_Throw(JSContext ctx, JSValue obj);
示例#14
0
 public static extern int JS_DefinePropertyValue(JSContext ctx, JSValueConst this_obj,
                                                 JSAtom prop, JSValue val, JSPropFlags flags);
示例#15
0
 public static IntPtr JS_ToCStringLen(JSContext ctx, out size_t len, JSValue val)
 {
     return(JS_ToCStringLen2(ctx, out len, val, false));
 }
示例#16
0
 public static extern int JS_SetPropertyStr(JSContext ctx, [In] JSValueConst this_obj,
                                            [MarshalAs(UnmanagedType.LPStr)] string prop, JSValue val);
示例#17
0
 public bool Equals(JSValue other)
 {
     return(this == other);
 }
示例#18
0
 public static bool JS_VALUE_HAS_REF_COUNT(JSValue v)
 {
     return((ulong)v.tag >= unchecked ((ulong)JS_TAG_FIRST));
 }