moon add illusory0x0/native
trait Getter
impl Getter for Byte
fn get(self : ConstPtr[Byte]) -> Byte
impl Getter for Char
fn get(self : ConstPtr[Char]) -> Char
impl Getter for Int
fn get(self : ConstPtr[Int]) -> Int
impl Getter for Int16
fn get(self : ConstPtr[Int16]) -> Int16
impl Getter for Int64
fn get(self : ConstPtr[Int64]) -> Int64
impl Getter for UInt
fn get(self : ConstPtr[UInt]) -> UInt
impl Getter for UInt16
fn get(self : ConstPtr[UInt16]) -> UInt16
impl Getter for UInt64
fn get(self : ConstPtr[UInt64]) -> UInt64
impl Getter for Float
fn get(self : ConstPtr[Float]) -> Float
impl Getter for Double
fn get(self : ConstPtr[Double]) -> Double
trait Setter
impl Setter for Byte
fn set(self : Ptr[Byte], x : Byte) -> Unit
impl Setter for Char
fn set(self : Ptr[Char], x : Char) -> Unit
impl Setter for Int
fn set(self : Ptr[Int], x : Int) -> Unit
impl Setter for Int16
fn set(self : Ptr[Int16], x : Int16) -> Unit
impl Setter for Int64
fn set(self : Ptr[Int64], x : Int64) -> Unit
impl Setter for UInt
fn set(self : Ptr[UInt], x : UInt) -> Unit
impl Setter for UInt16
fn set(self : Ptr[UInt16], x : UInt16) -> Unit
impl Setter for UInt64
fn set(self : Ptr[UInt64], x : UInt64) -> Unit
impl Setter for Float
fn set(self : Ptr[Float], x : Float) -> Unit
impl Setter for Double
fn set(self : Ptr[Double], x : Double) -> Unit
trait Sized
impl Sized for Byte
fn size() -> Int64
impl Sized for Char
impl Sized for Int
impl Sized for Int16
impl Sized for Int64
impl Sized for UInt
impl Sized for UInt16
impl Sized for UInt64
impl Sized for Float
impl Sized for Double
type CStr
fn CStr::from_bytes(bytes : Bytes) -> (CStr, Rc[Bytes])
fn CStr::reinterpret_as_const_byte_ptr(self : CStr) -> ConstPtr[Byte]
fn CStr::to_bytes(self : CStr) -> Bytes
fn CStr::unsafe_from_byte_ptr(ptr : Ptr[Byte]) -> CStr
fn CStr::unsafe_from_const_byte_ptr(ptr : ConstPtr[Byte]) -> CStr
type ConstPtr[T]
fn[T : Sized] ConstPtr::add(self : ConstPtr[T], offset : Int64) -> ConstPtr[T]
fn[T] ConstPtr::compare(self : ConstPtr[T], other : ConstPtr[T]) -> Int
fn[T] ConstPtr::from_rc_bytes(rc : Rc[Bytes]) -> ConstPtr[T]
fn[T] ConstPtr::from_rc_fixedarray(rc : Rc[FixedArray[T]]) -> ConstPtr[T]
fn[T] ConstPtr::from_rc_string(rc : Rc[String]) -> ConstPtr[T]
fn[T : Getter] ConstPtr::get(self : ConstPtr[T]) -> T
fn[T] ConstPtr::is_null(self : ConstPtr[T]) -> Bool
fn[T] ConstPtr::null_pointer() -> ConstPtr[T]
fn[T] ConstPtr::reinterpret_as_const_byte_ptr(self : ConstPtr[T]) -> ConstPtr[Byte]
fn[T] ConstPtr::reinterpret_as_int64(self : ConstPtr[T]) -> Int64
fn[T] ConstPtr::reinterpret_as_uint64(self : ConstPtr[T]) -> UInt64
fn[T : Sized] ConstPtr::sub(self : ConstPtr[T], other : ConstPtr[T]) -> Int64
type Ptr[T]
fn[T : Sized] Ptr::add(self : Ptr[T], offset : Int64) -> Ptr[T]
fn[T] Ptr::compare(self : Ptr[T], other : Ptr[T]) -> Int
fn[T] Ptr::from_rc_fixedarray(rc : Rc[FixedArray[T]]) -> Ptr[T]
fn[T : Getter] Ptr::get(self : Ptr[T]) -> T
fn[T] Ptr::is_null(self : Ptr[T]) -> Bool
fn[T] Ptr::null_pointer() -> Ptr[T]
fn[T] Ptr::reinterpret_as_byte_ptr(self : Ptr[T]) -> Ptr[Byte]
fn[T] Ptr::reinterpret_as_const_byte_ptr(self : Ptr[T]) -> ConstPtr[Byte]
fn[T] Ptr::reinterpret_as_int64(self : Ptr[T]) -> Int64
fn[T] Ptr::reinterpret_as_uint64(self : Ptr[T]) -> UInt64
fn[T : Setter] Ptr::set(self : Ptr[T], x : T) -> Unit
fn[T : Sized] Ptr::sub(self : Ptr[T], other : Ptr[T]) -> Int64
fn[T] Ptr::to_const_ptr(self : Ptr[T]) -> ConstPtr[T]
type Rc[T]
fn Rc::from_bytes(xs : Bytes) -> Rc[Bytes]
fn[T] Rc::from_fixedarray(xs : FixedArray[T]) -> Rc[FixedArray[T]]
fn[T] Rc::release(self : Rc[T]) -> Unit
fn[R] Rc::scope_bytes(xs : Bytes, f : (ConstPtr[Byte], Int) -> R) -> R
fn[T, R] Rc::scope_fixedarray(xs : FixedArray[T], f : (Ptr[T], Int) -> R) -> R
fn free(ptr : Ptr[Byte]) -> Unit
fn malloc(count : UInt64) -> Ptr[Byte]
fn memcmp(a : ConstPtr[Byte], b : ConstPtr[Byte], count : UInt64) -> Int
fn memcpy(dest : Ptr[Byte], src : ConstPtr[Byte], count : UInt64) -> Unit
fn memmove(dest : Ptr[Byte], src : ConstPtr[Byte], count : UInt64) -> Unit
fn memset(ptr : Ptr[Byte], val : Byte, count : UInt64) -> Unit
fn realloc(ptr : Ptr[Byte], count : UInt64) -> Ptr[Byte]
let size_of_byte : Int64
let size_of_char : Int64
let size_of_double : Int64
let size_of_float : Int64
let size_of_int : Int64
let size_of_int16 : Int64
let size_of_int64 : Int64
let size_of_uint : Int64
let size_of_uint16 : Int64
let size_of_uint64 : Int64
fn[V, E : Error] try_finally(f : () -> V raise E, finally_~ : () -> Unit) -> V raise E
fn[A, B] unsafe_coerce(x : A) -> B
Install
A web framework for MoonBit.
Published modules that use this version