Skip to main content

Crate libquickjspp_sys

Crate libquickjspp_sys 

Source
Expand description

FFI Bindings for quickjspp, a Javascript engine. See the quickjspp crate for a high-level wrapper.

Structs§

JSCFunctionListEntry
JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1
JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2
JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3
JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4
JSClass
JSClassDef
JSClassExoticMethods
JSContext
JSGCObjectHeader
JSMallocFunctions
JSMallocState
JSMemoryUsage
JSModuleDef
JSObject
JSPropertyDescriptor
JSPropertyEnum
JSRefCountHeader
JSRuntime
JSSharedArrayBufferFunctions

Constants§

JSCFunctionEnum_JS_CFUNC_constructor
JSCFunctionEnum_JS_CFUNC_constructor_magic
JSCFunctionEnum_JS_CFUNC_constructor_or_func
JSCFunctionEnum_JS_CFUNC_constructor_or_func_magic
JSCFunctionEnum_JS_CFUNC_f_f
JSCFunctionEnum_JS_CFUNC_f_f_f
JSCFunctionEnum_JS_CFUNC_generic
JSCFunctionEnum_JS_CFUNC_generic_magic
JSCFunctionEnum_JS_CFUNC_getter
JSCFunctionEnum_JS_CFUNC_getter_magic
JSCFunctionEnum_JS_CFUNC_iterator_next
JSCFunctionEnum_JS_CFUNC_setter
JSCFunctionEnum_JS_CFUNC_setter_magic
JS_ATOM_NULL
JS_CALL_FLAG_CONSTRUCTOR
JS_DEFAULT_STACK_SIZE
JS_DEF_ALIAS
JS_DEF_CFUNC
JS_DEF_CGETSET
JS_DEF_CGETSET_MAGIC
JS_DEF_OBJECT
JS_DEF_PROP_DOUBLE
JS_DEF_PROP_INT32
JS_DEF_PROP_INT64
JS_DEF_PROP_STRING
JS_DEF_PROP_UNDEFINED
JS_EVAL_FLAG_BACKTRACE_BARRIER
JS_EVAL_FLAG_COMPILE_ONLY
JS_EVAL_FLAG_STRICT
JS_EVAL_FLAG_STRIP
JS_EVAL_TYPE_DIRECT
JS_EVAL_TYPE_GLOBAL
JS_EVAL_TYPE_INDIRECT
JS_EVAL_TYPE_MASK
JS_EVAL_TYPE_MODULE
JS_GPN_ENUM_ONLY
JS_GPN_PRIVATE_MASK
JS_GPN_SET_ENUM
JS_GPN_STRING_MASK
JS_GPN_SYMBOL_MASK
JS_PARSE_JSON_EXT
JS_PROCEED_WITH_DEFAULT
JS_PROP_AUTOINIT
JS_PROP_CONFIGURABLE
JS_PROP_C_W_E
JS_PROP_ENUMERABLE
JS_PROP_GETSET
JS_PROP_HAS_CONFIGURABLE
JS_PROP_HAS_ENUMERABLE
JS_PROP_HAS_GET
JS_PROP_HAS_SET
JS_PROP_HAS_SHIFT
JS_PROP_HAS_VALUE
JS_PROP_HAS_WRITABLE
JS_PROP_LENGTH
JS_PROP_NORMAL
JS_PROP_NO_ADD
JS_PROP_NO_EXOTIC
JS_PROP_THROW
JS_PROP_THROW_STRICT
JS_PROP_TMASK
JS_PROP_VARREF
JS_PROP_WRITABLE
JS_READ_OBJ_BYTECODE
JS_READ_OBJ_REFERENCE
JS_READ_OBJ_ROM_DATA
JS_READ_OBJ_SAB
JS_TAG_BIG_DECIMAL
JS_TAG_BIG_FLOAT
JS_TAG_BIG_INT
JS_TAG_BOOL
JS_TAG_CATCH_OFFSET
JS_TAG_EXCEPTION
JS_TAG_FLOAT64
JS_TAG_FUNCTION_BYTECODE
JS_TAG_INT
JS_TAG_MODULE
JS_TAG_NULL
JS_TAG_OBJECT
JS_TAG_STRING
JS_TAG_SYMBOL
JS_TAG_UNDEFINED
JS_TAG_UNINITIALIZED
JS_WRITE_OBJ_BSWAP
JS_WRITE_OBJ_BYTECODE
JS_WRITE_OBJ_REFERENCE
JS_WRITE_OBJ_SAB
QUICKJS_VERSION

Functions§

JS_AddIntrinsicBaseObjects⚠
JS_AddIntrinsicBigDecimal⚠
JS_AddIntrinsicBigFloat⚠
JS_AddIntrinsicBigInt⚠
JS_AddIntrinsicDate⚠
JS_AddIntrinsicEval⚠
JS_AddIntrinsicJSON⚠
JS_AddIntrinsicMapSet⚠
JS_AddIntrinsicOperators⚠
JS_AddIntrinsicPromise⚠
JS_AddIntrinsicProxy⚠
JS_AddIntrinsicRegExp⚠
JS_AddIntrinsicRegExpCompiler⚠
JS_AddIntrinsicStringNormalize⚠
JS_AddIntrinsicTypedArrays⚠
JS_AddModuleExport⚠
JS_AddModuleExportList⚠
JS_AreFunctionsOfSameOrigin⚠
JS_AtomGetStr⚠
JS_AtomGetStrRT⚠
JS_AtomIsArrayIndex⚠
JS_AtomToCString⚠
JS_AtomToString⚠
JS_AtomToValue⚠
JS_Call⚠
JS_CallConstructor⚠
JS_CallConstructor2⚠
JS_ComputeMemoryUsage⚠
JS_CopyDataProperties⚠
JS_DefineProperty⚠
JS_DefinePropertyGetSet⚠
JS_DefinePropertyValue⚠
JS_DefinePropertyValueStr⚠
JS_DefinePropertyValueUint32⚠
JS_DeleteProperty⚠
JS_DetachArrayBuffer⚠
JS_DetectModule⚠
JS_DupAtom⚠
JS_DupAtomRT⚠
JS_DupContext⚠
JS_DupValue⚠
Increment the refcount of this value
JS_DupValueRT⚠
Increment the refcount of this value
JS_EnableBignumExt⚠
JS_EnqueueJob⚠
JS_Eval⚠
JS_Eval2⚠
JS_EvalFunction⚠
JS_EvalThis⚠
JS_ExecutePendingJob⚠
JS_FreeAtom⚠
JS_FreeAtomRT⚠
JS_FreeCString⚠
JS_FreeContext⚠
JS_FreeRuntime⚠
JS_FreeValue⚠
Decrement the refcount of this value
JS_FreeValueRT⚠
Decrement the refcount of this value
JS_GetArrayBuffer⚠
JS_GetClassID⚠
JS_GetClassName⚠
JS_GetClassProto⚠
JS_GetContextOpaque⚠
JS_GetException⚠
JS_GetFastArray⚠
JS_GetGlobalObject⚠
JS_GetImportMeta⚠
JS_GetModuleExportItem⚠
JS_GetModuleExportItemStr⚠
JS_GetModuleName⚠
JS_GetOpaque⚠
JS_GetOpaque2⚠
JS_GetOwnProperty⚠
JS_GetOwnPropertyNames⚠
JS_GetPropertyInternal⚠
JS_GetPropertyLength⚠
JS_GetPropertyStr⚠
JS_GetPropertyUint32⚠
JS_GetPrototype⚠
JS_GetPrototypeOfDate⚠
JS_GetRuntime⚠
JS_GetRuntimeOpaque⚠
JS_GetScriptOrModuleName⚠
JS_GetTupleTag⚠
JS_GetTypedArrayBuffer⚠
JS_GetUserClassName⚠
JS_HasProperty⚠
JS_Invoke⚠
JS_IsArray⚠
JS_IsBigDecimal⚠
check if a JSValue is a BigDecimal
JS_IsBigFloat⚠
check if a JSValue is a BigFloat
JS_IsBigInt⚠
check if a JSValue is a BigInt
JS_IsBool⚠
check if a JSValue is a Boolean
JS_IsConstructor⚠
JS_IsDate⚠
JS_IsError⚠
JS_IsException⚠
check if a JSValue is an Exception
JS_IsExtensible⚠
JS_IsFunction⚠
JS_IsFunctionOfThisRealm⚠
JS_IsInstanceOf⚠
JS_IsJobPending⚠
JS_IsLiveObject⚠
JS_IsNull⚠
check if a JSValue is null
JS_IsNumber⚠
check if a JSValue is a Number
JS_IsObject⚠
check if a JSValue is an Object
JS_IsObjectPlain⚠
JS_IsRegisteredClass⚠
JS_IsString⚠
check if a JSValue is a String
JS_IsSymbol⚠
check if a JSValue is a Symbol
JS_IsTuple⚠
JS_IsUndefined⚠
check if a JSValue is Undefined
JS_IsUninitialized⚠
check if a JSValue is initialized
JS_JSONStringify⚠
JS_MarkValue⚠
JS_NewArray⚠
JS_NewArrayBuffer⚠
JS_NewArrayBufferCopy⚠
JS_NewAtom⚠
JS_NewAtomLen⚠
JS_NewAtomLenRT⚠
JS_NewAtomString⚠
JS_NewAtomSymbolLenRT⚠
JS_NewAtomUInt32⚠
JS_NewBigInt64⚠
JS_NewBigUint64⚠
JS_NewBool⚠
create a new boolean value
JS_NewCFunction⚠
create a new Function based on a JSCFunction
JS_NewCFunction2⚠
JS_NewCFunctionData⚠
JS_NewCFunctionMagic⚠
create a new Function based on a JSCFunction
JS_NewCModule⚠
JS_NewClass⚠
JS_NewClassID⚠
JS_NewContext⚠
JS_NewContextRaw⚠
JS_NewDate⚠
JS_NewError⚠
JS_NewFastArray⚠
JS_NewFloat64⚠
create a new f64 value, please note that if the passed f64 fits in a i32 this will return a value with flag 0 (i32)
JS_NewInt32⚠
create a new int32 value
JS_NewObject⚠
JS_NewObjectClass⚠
JS_NewObjectProto⚠
JS_NewObjectProtoClass⚠
JS_NewPointer⚠
JS_NewPromiseCapability⚠
JS_NewRuntime⚠
JS_NewRuntime2⚠
JS_NewSpecialValue⚠
JS_NewString⚠
JS_NewStringLen⚠
JS_ParseJSON⚠
JS_ParseJSON2⚠
JS_PreventExtensions⚠
JS_ReadObject⚠
JS_ReadObject2⚠
JS_ResetUncatchableError⚠
JS_ResolveModule⚠
JS_RunGC⚠
JS_RunModule⚠
JS_SetCanBlock⚠
JS_SetClassProto⚠
JS_SetConstructor⚠
JS_SetConstructorBit⚠
JS_SetContextOpaque⚠
JS_SetGCThreshold⚠
JS_SetHostPromiseRejectionTracker⚠
JS_SetInterruptHandler⚠
JS_SetIsHTMLDDA⚠
JS_SetMaxStackSize⚠
JS_SetMemoryLimit⚠
JS_SetModuleExport⚠
JS_SetModuleExportList⚠
JS_SetModuleLoaderFunc⚠
JS_SetOpaque⚠
JS_SetProperty⚠
set a property of an object identified by a JSAtom
JS_SetPropertyFunctionList⚠
JS_SetPropertyInt64⚠
JS_SetPropertyInternal⚠
JS_SetPropertyStr⚠
JS_SetPropertyUint32⚠
JS_SetPrototype⚠
JS_SetRuntimeInfo⚠
JS_SetRuntimeOpaque⚠
JS_SetSharedArrayBufferFunctions⚠
JS_Throw⚠
JS_ThrowInternalError⚠
JS_ThrowOutOfMemory⚠
JS_ThrowRangeError⚠
JS_ThrowReferenceError⚠
JS_ThrowSyntaxError⚠
JS_ThrowTypeError⚠
JS_ToBigInt64⚠
JS_ToBool⚠
JS_ToCStringLen2⚠
JS_ToFloat64⚠
JS_ToIndex⚠
JS_ToInt32⚠
JS_ToInt64⚠
JS_ToInt64Ext⚠
JS_ToPropertyKey⚠
JS_ToString⚠
JS_ToUint32⚠
get a u32 value from a JSValue
JS_UpdateStackTop⚠
JS_VALUE_GET_BOOL⚠
JS_VALUE_GET_FLOAT64⚠
get a f64 value from a JSValue
JS_VALUE_GET_INT⚠
get a i32 value from a JSValue
JS_VALUE_GET_NORM_TAG⚠
same as JS_VALUE_GET_TAG, but return JS_TAG_FLOAT64 with NaN boxing
JS_VALUE_GET_PTR⚠
JS_VALUE_IS_NAN⚠
check if a JSValue is a NaN value
JS_ValueGetTag⚠
JS_ValueToAtom⚠
JS_WriteObject⚠
JS_WriteObject2⚠
__JS_FreeValue⚠
__JS_FreeValueRT⚠
js_debugger_get_object_id⚠
js_free⚠
js_free_prop_enum⚠
js_free_rt⚠
js_malloc⚠
js_malloc_rt⚠
js_malloc_usable_size⚠
js_malloc_usable_size_rt⚠
js_mallocz⚠
js_mallocz_rt⚠
js_realloc⚠
js_realloc2⚠
js_realloc_rt⚠
js_strdup⚠
js_string_codePointRange⚠
js_strndup⚠

Type Aliases§

JSAtom
JSCFunction
JSCFunctionData
JSCFunctionEnum
JSCFunctionMagic
JSClassCall
JSClassFinalizer
JSClassGCMark
JSClassID
JSFreeArrayBufferDataFunc
JSHostPromiseRejectionTracker
JSInterruptHandler
JSJobFunc
JSModuleInitFunc
JSModuleLoaderFunc
JSModuleNormalizeFunc
JSValue
JS_MarkFunc
_bindgen_ty_2

Unions§

JSCFunctionListEntry__bindgen_ty_1
JSCFunctionType