Crate libquickjs_ng_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
JSEvalOptions
JSGCObjectHeader
JSMallocFunctions
JSMemoryUsage
JSModuleDef
JSObject
JSPropertyDescriptor
JSPropertyEnum
JSRuntime
JSSABTab
JSSharedArrayBufferFunctions
JSValue
_IO_FILE
_IO_codecvt
_IO_marker
_IO_wide_data

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
JSPromiseStateEnum_JS_PROMISE_FULFILLED
JSPromiseStateEnum_JS_PROMISE_PENDING
JSPromiseStateEnum_JS_PROMISE_REJECTED
JSTypedArrayEnum_JS_TYPED_ARRAY_BIG_INT64
JSTypedArrayEnum_JS_TYPED_ARRAY_BIG_UINT64
JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT16
JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT32
JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT64
JSTypedArrayEnum_JS_TYPED_ARRAY_INT8
JSTypedArrayEnum_JS_TYPED_ARRAY_INT16
JSTypedArrayEnum_JS_TYPED_ARRAY_INT32
JSTypedArrayEnum_JS_TYPED_ARRAY_UINT8
JSTypedArrayEnum_JS_TYPED_ARRAY_UINT8C
JSTypedArrayEnum_JS_TYPED_ARRAY_UINT16
JSTypedArrayEnum_JS_TYPED_ARRAY_UINT32
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_DUMP_ATOMS
JS_DUMP_ATOM_LEAKS
JS_DUMP_BYTECODE_FINAL
JS_DUMP_BYTECODE_HEX
JS_DUMP_BYTECODE_PASS1
JS_DUMP_BYTECODE_PASS2
JS_DUMP_BYTECODE_PC2LINE
JS_DUMP_BYTECODE_STACK
JS_DUMP_BYTECODE_STEP
JS_DUMP_FREE
JS_DUMP_GC
JS_DUMP_GC_FREE
JS_DUMP_LEAKS
JS_DUMP_MEM
JS_DUMP_MODULE_RESOLVE
JS_DUMP_OBJECTS
JS_DUMP_PROMISE
JS_DUMP_READ_OBJECT
JS_DUMP_SHAPES
JS_EVAL_FLAG_ASYNC
JS_EVAL_FLAG_BACKTRACE_BARRIER
JS_EVAL_FLAG_COMPILE_ONLY
JS_EVAL_FLAG_STRICT
JS_EVAL_FLAG_UNUSED
JS_EVAL_OPTIONS_VERSION
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_INVALID_CLASS_ID
JS_PROP_AUTOINIT
JS_PROP_CONFIGURABLE
JS_PROP_C_W_E
JS_PROP_DEFINE_PROPERTY
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_REFLECT_DEFINE_PROPERTY
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_INT
JS_TAG_BOOL
JS_TAG_CATCH_OFFSET
JS_TAG_EXCEPTION
JS_TAG_FIRST
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
JS_WRITE_OBJ_STRIP_DEBUG
JS_WRITE_OBJ_STRIP_SOURCE

Functions§

JS_AddIntrinsicBaseObjects
JS_AddIntrinsicBigInt
JS_AddIntrinsicDate
JS_AddIntrinsicEval
JS_AddIntrinsicJSON
JS_AddIntrinsicMapSet
JS_AddIntrinsicPromise
JS_AddIntrinsicProxy
JS_AddIntrinsicRegExp
JS_AddIntrinsicRegExpCompiler
JS_AddIntrinsicTypedArrays
JS_AddIntrinsicWeakRef
JS_AddModuleExport
JS_AddModuleExportList
JS_AddPerformance
JS_AddRuntimeFinalizer
JS_AtomToCString
JS_AtomToString
JS_AtomToValue
JS_Call
JS_CallConstructor
JS_CallConstructor2
JS_ClearUncatchableError
JS_ComputeMemoryUsage
JS_DefineProperty
JS_DefinePropertyGetSet
JS_DefinePropertyValue
JS_DefinePropertyValueStr
JS_DefinePropertyValueUint32
JS_DeleteProperty
JS_DetachArrayBuffer
JS_DetectModule
JS_DumpMemoryUsage
JS_DupAtom
JS_DupContext
JS_DupValue
JS_DupValueRT
JS_EnqueueJob
JS_Eval
JS_Eval2
JS_EvalFunction
JS_EvalThis
JS_EvalThis2
JS_ExecutePendingJob
JS_Ext_BigIntToString1
JS_Ext_GetBool
JS_Ext_GetFloat64
JS_Ext_GetInt
JS_Ext_GetNormTag
JS_Ext_GetPtr
JS_Ext_GetRefCount
JS_Ext_IsBigInt
JS_Ext_IsBool
JS_Ext_IsException
JS_Ext_IsNan
JS_Ext_IsNull
JS_Ext_IsNumber
JS_Ext_IsObject
JS_Ext_IsPromise
JS_Ext_IsString
JS_Ext_IsSymbol
JS_Ext_IsUndefined
JS_Ext_IsUninitialized
JS_Ext_NewBool
JS_Ext_NewCFunction
JS_Ext_NewCFunctionMagic
JS_Ext_NewFloat64
JS_Ext_NewInt32
JS_Ext_NewPointer
JS_Ext_NewSpecialValue
JS_Ext_PromiseAll
JS_Ext_PromiseAllSettled
JS_Ext_PromiseAny
JS_Ext_PromiseCatch
JS_Ext_PromiseFinally
JS_Ext_PromiseRace
JS_Ext_PromiseReject
JS_Ext_PromiseResolve
JS_Ext_PromiseThen
JS_Ext_PromiseThen2
JS_Ext_PromiseWithResolvers
JS_Ext_ToUint32
JS_Ext_ValueGetTag
JS_FreeAtom
JS_FreeAtomRT
JS_FreeCString
JS_FreeContext
JS_FreePropertyEnum
JS_FreeRuntime
JS_FreeValue
JS_FreeValueRT
JS_FreezeObject
JS_GetAnyOpaque
JS_GetArrayBuffer
JS_GetClassID
JS_GetClassProto
JS_GetContextOpaque
JS_GetDumpFlags
JS_GetException
JS_GetFunctionProto
JS_GetGCThreshold
JS_GetGlobalObject
JS_GetImportMeta
JS_GetLength
JS_GetModuleName
JS_GetModuleNamespace
JS_GetOpaque
JS_GetOpaque2
JS_GetOwnProperty
JS_GetOwnPropertyNames
JS_GetProperty
JS_GetPropertyInt64
JS_GetPropertyStr
JS_GetPropertyUint32
JS_GetPrototype
JS_GetProxyHandler
JS_GetProxyTarget
JS_GetRuntime
JS_GetRuntimeOpaque
JS_GetScriptOrModuleName
JS_GetTypedArrayBuffer
JS_GetTypedArrayType
JS_GetUint8Array
JS_GetVersion
JS_HasException
JS_HasProperty
JS_Invoke
JS_IsArray
JS_IsArrayBuffer
JS_IsConstructor
JS_IsDate
JS_IsEqual
JS_IsError
JS_IsExtensible
JS_IsFunction
JS_IsInstanceOf
JS_IsJobPending
JS_IsLiveObject
JS_IsMap
JS_IsPromise
JS_IsProxy
JS_IsRegExp
JS_IsRegisteredClass
JS_IsSameValue
JS_IsSameValueZero
JS_IsStrictEqual
JS_IsUncatchableError
JS_JSONStringify
JS_LoadModule
JS_MarkValue
JS_NewArray
JS_NewArrayBuffer
JS_NewArrayBufferCopy
JS_NewArrayFrom
JS_NewAtom
JS_NewAtomLen
JS_NewAtomString
JS_NewAtomUInt32
JS_NewBigInt64
JS_NewBigUint64
JS_NewCFunction2
JS_NewCFunction3
JS_NewCFunctionData
JS_NewCModule
JS_NewClass
JS_NewClassID
JS_NewContext
JS_NewContextRaw
JS_NewDate
JS_NewError
JS_NewNumber
JS_NewObject
JS_NewObjectClass
JS_NewObjectFrom
JS_NewObjectFromStr
JS_NewObjectProto
JS_NewObjectProtoClass
JS_NewPromiseCapability
JS_NewRuntime
JS_NewRuntime2
JS_NewStringLen
JS_NewSymbol
JS_NewTypedArray
JS_NewUint8Array
JS_NewUint8ArrayCopy
JS_ParseJSON
JS_PreventExtensions
JS_PromiseResult
JS_PromiseState
JS_ReadObject
JS_ReadObject2
JS_ResetUncatchableError
JS_ResolveModule
JS_RunGC
JS_SealObject
JS_SetCanBlock
JS_SetClassProto
JS_SetConstructor
JS_SetConstructorBit
JS_SetContextOpaque
JS_SetDumpFlags
JS_SetGCThreshold
JS_SetHostPromiseRejectionTracker
JS_SetInterruptHandler
JS_SetIsHTMLDDA
JS_SetLength
JS_SetMaxStackSize
JS_SetMemoryLimit
JS_SetModuleExport
JS_SetModuleExportList
JS_SetModuleLoaderFunc
JS_SetOpaque
JS_SetProperty
JS_SetPropertyFunctionList
JS_SetPropertyInt64
JS_SetPropertyStr
JS_SetPropertyUint32
JS_SetPrototype
JS_SetRuntimeInfo
JS_SetRuntimeOpaque
JS_SetSharedArrayBufferFunctions
JS_SetUncatchableError
JS_Throw
JS_ThrowInternalError
JS_ThrowOutOfMemory
JS_ThrowPlainError
JS_ThrowRangeError
JS_ThrowReferenceError
JS_ThrowSyntaxError
JS_ThrowTypeError
JS_ToBigInt64
JS_ToBigUint64
JS_ToBool
JS_ToCStringLen2
JS_ToFloat64
JS_ToIndex
JS_ToInt32
JS_ToInt64
JS_ToInt64Ext
JS_ToNumber
JS_ToObject
JS_ToObjectString
JS_ToPropertyKey
JS_ToString
JS_UpdateStackTop
JS_ValueToAtom
JS_WriteObject
JS_WriteObject2
js_calloc
js_calloc_rt
js_free
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_std_cmd
js_strdup
js_string_codePointRange
js_strndup

Type Aliases§

FILE
JSAtom
JSCFunction
JSCFunctionData
JSCFunctionEnum
JSCFunctionMagic
JSClassCall
JSClassFinalizer
JSClassGCMark
JSClassID
JSFreeArrayBufferDataFunc
JSHostPromiseRejectionTracker
JSInterruptHandler
JSJobFunc
JSModuleInitFunc
JSModuleLoaderFunc
JSModuleNormalizeFunc
JSPromiseStateEnum
JSRuntimeFinalizer
JSTypedArrayEnum
JS_MarkFunc
_IO_lock_t
__off64_t
__off_t
_bindgen_ty_3

Unions§

JSCFunctionListEntry__bindgen_ty_1
JSCFunctionType
JSValueUnion