public static extern IntPtr JS_ToCStringLen2(JSContext ctx, out size_t len, [In] JSValue val, [MarshalAs(UnmanagedType.Bool)] bool cesu8);
public static extern void JS_FreeValue(JSContext ctx, JSValue v);
public static extern void JS_FreeValueRT(JSRuntime rt, JSValue v);
public static extern int JS_ToInt32(JSContext ctx, out int pres, JSValue val);
public static extern JSValue JS_EvalFunction(JSContext ctx, JSValue fun_obj);
public static extern int JS_DefinePropertyValueStr(JSContext ctx, JSValueConst this_obj, [MarshalAs(UnmanagedType.LPStr)] string prop, JSValue val, JSPropFlags flags);
public static extern unsafe int JS_SetPropertyStr(JSContext ctx, [In] JSValueConst this_obj, byte *prop, JSValue val);
public static extern int JS_SetPropertyUint32(JSContext ctx, JSValueConst this_obj, uint32_t idx, JSValue val);
public static extern int JS_SetPropertyInt64(JSContext ctx, JSValueConst this_obj, int64_t idx, JSValue val);
public static extern int JS_SetPropertyInternal(JSContext ctx, JSValueConst this_obj, JSAtom prop, JSValue val, int flags);
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)); }
public static extern void JS_SetClassProto(JSContext ctx, JSClassID class_id, JSValue obj);
public static extern JSValue JS_Throw(JSContext ctx, JSValue obj);
public static extern int JS_DefinePropertyValue(JSContext ctx, JSValueConst this_obj, JSAtom prop, JSValue val, JSPropFlags flags);
public static IntPtr JS_ToCStringLen(JSContext ctx, out size_t len, JSValue val) { return(JS_ToCStringLen2(ctx, out len, val, false)); }
public static extern int JS_SetPropertyStr(JSContext ctx, [In] JSValueConst this_obj, [MarshalAs(UnmanagedType.LPStr)] string prop, JSValue val);
public bool Equals(JSValue other) { return(this == other); }
public static bool JS_VALUE_HAS_REF_COUNT(JSValue v) { return((ulong)v.tag >= unchecked ((ulong)JS_TAG_FIRST)); }