Crate ocaml_sys

Source

Modules§

bigarray
Bigarray bindings

Structs§

CamlRootsBlock
caml_custom_table
caml_domain_state
caml_ephe_ref_table
caml_ref_table
custom_fixed_length
custom_operations
longjmp_buffer

Constants§

ABSTRACT
CLOSURE
COMPILER
CUSTOM
DOUBLE
DOUBLE_ARRAY
EMPTY_LIST
Empty list value
FALSE
OCaml false value
FLAT_FLOAT_ARRAY
FORWARD
INFIX
LAZY
MAX_FIXNUM
Maximum possible value for an OCaml fixnum.
MIN_FIXNUM
Minimum possible value for an OCaml fixnum.
NONE
The OCaml None value
NO_SCAN
OBJECT
PATH
STRING
TAG_CONS
Tag used for OCaml conses
TAG_SOME
Tag used for OCaml Some x values
TRUE
The OCaml true value
UNIT
The OCaml () (unit) value
VERSION

Statics§

caml_callback_depth

Functions§

bp_val
Pointer to the first byte
caml_alloc
caml_alloc_array
caml_alloc_custom
caml_alloc_custom_mem
caml_alloc_final
caml_alloc_float_array
caml_alloc_initialized_string
caml_alloc_small
caml_alloc_string
caml_alloc_tuple
caml_array_bound_error
caml_array_length
caml_callback
caml_callback2
caml_callback3
caml_callback2_exn
caml_callback3_exn
caml_callbackN
caml_callbackN_exn
caml_callback_exn
caml_copy_double
caml_copy_int32
caml_copy_int64
caml_copy_nativeint
caml_copy_string
caml_copy_string_array
caml_enter_blocking_section
caml_failwith
caml_failwith_value
caml_format_exception
caml_gc_compaction
caml_gc_full_major
caml_gc_major
caml_gc_minor
caml_get_public_method
caml_hash_variant
caml_initialize
caml_invalid_argument
caml_invalid_argument_value
caml_is_double_array
caml_leave_blocking_section
caml_main
caml_modify
caml_modify_generational_global_root
caml_named_value
caml_raise
caml_raise_constant
caml_raise_end_of_file
caml_raise_not_found
caml_raise_out_of_memory
caml_raise_stack_overflow
caml_raise_sys_blocked_io
caml_raise_sys_error
caml_raise_with_arg
caml_raise_with_args
caml_raise_with_string
caml_raise_zero_divide
caml_register_custom_operations
caml_register_generational_global_root
caml_register_global_root
caml_remove_generational_global_root
caml_remove_global_root
caml_shutdown
caml_startup
caml_string_length
Returns size of the string in value in bytes
caml_sys_double_field
caml_sys_double_val
caml_sys_store_double_field
caml_sys_store_double_val
caml_thread_initialize
extract_exception
field
Extract a field from an OCaml value
hd_val
int_val
is_block
is_exception_result
is_long
store_field
Stores the value in the block at offset.
string_val
Extracts a machine ptr to the bytes making up an OCaml string
tag_val
val_int
(((intnat)(x) << 1) + 1)
wosize_val

Type Aliases§

Char
Color
Header
An OCaml heap-allocated block header. NB: this is currently unimplemented.
Intnat
OCaml’s integer type
Mark
Size
OCaml’s size type
Tag
Used to store OCaml value tags, which are used to determine the underlying type of values
Uintnat
OCaml’s unsigned integer type
Value
OCaml value type
backtrace_slot