Skip to content

Built in Procedures

matt edited this page Jan 14, 2019 · 5 revisions

Compiler Defined

  • len
  • cap
  • size_of
  • align_of
  • offset_of
  • typeid_of
  • type_of
  • type_info_of
  • swizzle
  • complex
  • real
  • imag
  • conj
  • expand_to_tuple
  • min
  • max
  • abs
  • clamp
  • #assert
  • #location

Library Defined

  • init_global_temporary_allocator
  • copy
  • pop
  • unordered_remove
  • ordered_remove
  • clear
    • clear_dynamic_array
    • clear_map
  • reserve
    • reserve_dynamic_array
    • reserve_map
  • resize
    • resize_dynamic_array
  • new
    • mem.new
  • new_clone
    • mem.new_clone
  • free
    • mem.free
  • delete
    • mem.delete_string
    • mem.delete_cstring
    • mem.delete_dynamic_array
    • mem.delete_slice
    • mem.delete_map
  • make
    • mem.make_slice
    • mem.make_dynamic_array
    • mem.make_dynamic_array_len
    • mem.make_dynamic_array_len_cap
    • mem.make_map
  • delete_key
  • append
    • append_elem
    • append_elems
  • append_string
  • incl
    • incl_elem
    • incl_elems
    • incl_bit_set
  • excl
    • excl_elem
    • excl_elems
    • excl_bit_set
  • card
  • assert
  • panic
  • unimplemented
  • unreachable
You can’t perform that action at this time.