package ocaml_intrinsics

  1. Overview
  2. Docs

Untagged int

val native_pointer_fetch_and_add_int : Native_pointer.t -> int -> int
val native_pointer_fetch_and_sub_int : Native_pointer.t -> int -> int
val native_pointer_compare_and_swap_int : Native_pointer.t -> compare_with:int -> set_to:int -> bool
val ext_pointer_fetch_and_add_int : Ext_pointer.t -> int -> int
val ext_pointer_fetch_and_sub_int : Ext_pointer.t -> int -> int
val ext_pointer_compare_and_swap_int : Ext_pointer.t -> compare_with:int -> set_to:int -> bool
val bigstring_fetch_and_add_int : Bigstring_intf.t -> pos:int -> int -> int
val bigstring_fetch_and_sub_int : Bigstring_intf.t -> pos:int -> int -> int
val bigstring_compare_and_swap_int : Bigstring_intf.t -> pos:int -> compare_with:int -> set_to:int -> bool

Unboxed int64

val native_pointer_fetch_and_add_int64 : Native_pointer.t -> int64 -> int64
val native_pointer_fetch_and_sub_int64 : Native_pointer.t -> int64 -> int64
val native_pointer_compare_and_swap_int64 : Native_pointer.t -> compare_with:int64 -> set_to:int64 -> bool
val ext_pointer_fetch_and_add_int64 : Ext_pointer.t -> int64 -> int64
val ext_pointer_fetch_and_sub_int64 : Ext_pointer.t -> int64 -> int64
val ext_pointer_compare_and_swap_int64 : Ext_pointer.t -> compare_with:int64 -> set_to:int64 -> bool
val bigstring_fetch_and_add_int64 : Bigstring_intf.t -> pos:int -> int64 -> int64
val bigstring_fetch_and_sub_int64 : Bigstring_intf.t -> pos:int -> int64 -> int64
val bigstring_compare_and_swap_int64 : Bigstring_intf.t -> pos:int -> compare_with:int64 -> set_to:int64 -> bool

Unboxed int32

val native_pointer_fetch_and_add_int32 : Native_pointer.t -> int32 -> int32
val native_pointer_fetch_and_sub_int32 : Native_pointer.t -> int32 -> int32
val native_pointer_compare_and_swap_int32 : Native_pointer.t -> compare_with:int32 -> set_to:int32 -> bool
val ext_pointer_fetch_and_add_int32 : Ext_pointer.t -> int32 -> int32
val ext_pointer_fetch_and_sub_int32 : Ext_pointer.t -> int32 -> int32
val ext_pointer_compare_and_swap_int32 : Ext_pointer.t -> compare_with:int32 -> set_to:int32 -> bool
val bigstring_fetch_and_add_int32 : Bigstring_intf.t -> pos:int -> int32 -> int32
val bigstring_fetch_and_sub_int32 : Bigstring_intf.t -> pos:int -> int32 -> int32
val bigstring_compare_and_swap_int32 : Bigstring_intf.t -> pos:int -> compare_with:int32 -> set_to:int32 -> bool

Unboxed nativeint

val native_pointer_fetch_and_add_nativeint : Native_pointer.t -> nativeint -> nativeint
val native_pointer_fetch_and_sub_nativeint : Native_pointer.t -> nativeint -> nativeint
val native_pointer_compare_and_swap_nativeint : Native_pointer.t -> compare_with:nativeint -> set_to:nativeint -> bool
val ext_pointer_fetch_and_add_nativeint : Ext_pointer.t -> nativeint -> nativeint
val ext_pointer_fetch_and_sub_nativeint : Ext_pointer.t -> nativeint -> nativeint
val ext_pointer_compare_and_swap_nativeint : Ext_pointer.t -> compare_with:nativeint -> set_to:nativeint -> bool
val bigstring_fetch_and_add_nativeint : Bigstring_intf.t -> pos:int -> nativeint -> nativeint
val bigstring_fetch_and_sub_nativeint : Bigstring_intf.t -> pos:int -> nativeint -> nativeint
val bigstring_compare_and_swap_nativeint : Bigstring_intf.t -> pos:int -> compare_with:nativeint -> set_to:nativeint -> bool
OCaml

Innovation. Community. Security.