Parameters
Signature
include Bindings__.Constants
val define_JS_NAN_BOXING : bool
val define_JS_EVAL_TYPE_GLOBAL : int
val define_JS_EVAL_TYPE_MODULE : int
val define_JS_EVAL_TYPE_DIRECT : int
val define_JS_EVAL_TYPE_INDIRECT : int
val define_JS_EVAL_TYPE_MASK : int
val define_JS_EVAL_FLAG_STRICT : int
val define_JS_EVAL_FLAG_STRIP : int
val define_JS_EVAL_FLAG_COMPILE_ONLY : int
val define_JS_EVAL_FLAG_BACKTRACE_BARRIER : int
type _js_runtime
type js_runtime
= _js_runtime Ctypes.structure
type js_runtime_ptr
= js_runtime Ctypes.ptr
val js_runtime : js_runtime Ctypes.typ
type _js_context
type js_context
= _js_context Ctypes.structure
type js_context_ptr
= js_context Ctypes.ptr
val js_context : js_context Ctypes.typ
val js_class_id : Unsigned.uint32 Ctypes.typ
val js_bool : int Ctypes.typ
type js_value
= BOXING_OR_NOT.js_value
val js_value : BOXING_OR_NOT.js_value Ctypes.typ
val js_value_const : BOXING_OR_NOT.js_value Ctypes.typ
val js_new_runtime : (unit -> js_runtime Ctypes_static.ptr F.return) F.result
val js_free_runtime : (js_runtime Ctypes_static.ptr -> unit F.return) F.result
val js_set_max_stack_size : (js_runtime Ctypes_static.ptr -> Unsigned.size_t -> unit F.return) F.result
val js_set_runtime_info : (js_runtime Ctypes_static.ptr -> string -> unit F.return) F.result
val js_set_memory_limit : (js_runtime Ctypes_static.ptr -> Unsigned.size_t -> unit F.return) F.result
val js_set_gc_threshold : (js_runtime Ctypes_static.ptr -> Unsigned.size_t -> unit F.return) F.result
val js_run_gc : (js_runtime Ctypes_static.ptr -> unit F.return) F.result
val js_compute_memory_usage : (js_runtime Ctypes_static.ptr -> MemoryUsage.js_memory_usage Ctypes_static.ptr -> unit F.return) F.result
val js_new_context : (js_runtime Ctypes_static.ptr -> js_context Ctypes_static.ptr F.return) F.result
val js_free_context : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_get_runtime : (js_context Ctypes_static.ptr -> js_runtime Ctypes_static.ptr F.return) F.result
val js_enable_bignum_ext : (js_context Ctypes_static.ptr -> int -> unit F.return) F.result
val js_new_context_raw : (js_runtime Ctypes_static.ptr -> js_context Ctypes_static.ptr F.return) F.result
val js_add_instrinsic_base_objects : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_date : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_eval : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_string_normalize : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_regexp_compiler : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_regexp : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_json : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_proxy : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_map_set : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_typed_arrays : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_promise : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_big_int : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_big_float : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_big_decimal : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_add_instrinsic_operators : (js_context Ctypes_static.ptr -> unit F.return) F.result
val js_free_value : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> unit F.return) F.result
val js_free_value_rt : (js_runtime Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> unit F.return) F.result
val js_dup_value : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_dup_value_rt : (js_runtime Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_bool : (js_context Ctypes_static.ptr -> int -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_string : (js_context Ctypes_static.ptr -> string -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_int32 : (js_context Ctypes_static.ptr -> int32 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_uint32 : (js_context Ctypes_static.ptr -> Unsigned.uint32 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_int64 : (js_context Ctypes_static.ptr -> int64 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_float64 : (js_context Ctypes_static.ptr -> float -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_big_int64 : (js_context Ctypes_static.ptr -> int64 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_big_uint64 : (js_context Ctypes_static.ptr -> Unsigned.uint64 -> BOXING_OR_NOT.js_value F.return) F.result
val js_is_uninitialized : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_error : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_exception : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_null : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_undefined : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_bool : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_number : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_string : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_symbol : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_array : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_object : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_function : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_constructor : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_instance_of : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_big_int : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_big_float : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_is_big_decimal : (BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_bool : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_int32 : (js_context Ctypes_static.ptr -> int32 Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_uint32 : (js_context Ctypes_static.ptr -> Unsigned.uint32 Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_int64 : (js_context Ctypes_static.ptr -> int64 Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_int64ext : (js_context Ctypes_static.ptr -> int64 Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_float64 : (js_context Ctypes_static.ptr -> float Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_bigint64 : (js_context Ctypes_static.ptr -> int64 Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int F.return) F.result
val js_to_string : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_to_c_string : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> char Ctypes_static.ptr F.return) F.result
val js_free_c_string : (js_context Ctypes_static.ptr -> char Ctypes_static.ptr -> unit F.return) F.result
val js_get_exception : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value F.return) F.result
val js_throw : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_set_class_proto : (js_context Ctypes_static.ptr -> Unsigned.uint32 -> BOXING_OR_NOT.js_value -> unit F.return) F.result
val js_get_class_proto : (js_context Ctypes_static.ptr -> Unsigned.uint32 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_class_id : (Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 F.return) F.result
val js_new_object_proto_class : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> Unsigned.uint32 -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_object_class : (js_context Ctypes_static.ptr -> int -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_object_proto : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_new_object : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value F.return) F.result
val js_set_opaque : (BOXING_OR_NOT.js_value -> unit Ctypes_static.ptr -> unit F.return) F.result
val js_get_opaque : (BOXING_OR_NOT.js_value -> Unsigned.uint32 -> unit Ctypes_static.ptr F.return) F.result
val js_eval : (js_context Ctypes_static.ptr -> string -> Unsigned.size_t -> string -> int -> BOXING_OR_NOT.js_value F.return) F.result
val js_eval_function : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value F.return) F.result
val js_call : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> BOXING_OR_NOT.js_value -> int -> BOXING_OR_NOT.js_value Ctypes_static.ptr -> BOXING_OR_NOT.js_value F.return) F.result
val js_c_function : (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int -> BOXING_OR_NOT.js_value Ctypes_static.ptr -> BOXING_OR_NOT.js_value) Ctypes.typ
val js_new_c_function : (js_context Ctypes_static.ptr -> (js_context Ctypes_static.ptr -> BOXING_OR_NOT.js_value -> int -> BOXING_OR_NOT.js_value Ctypes_static.ptr -> BOXING_OR_NOT.js_value) -> string -> int -> BOXING_OR_NOT.js_value F.return) F.result
val js_interrupt_handler : (js_runtime Ctypes_static.ptr -> unit Ctypes_static.ptr -> int) Ctypes.typ
val js_set_interrupt_handler : (js_runtime Ctypes_static.ptr -> (js_runtime Ctypes_static.ptr -> unit Ctypes_static.ptr -> int) -> unit Ctypes_static.ptr -> unit F.return) F.result