package core:container/small_array

Index

Types (1)
Constants (0)

This section is empty.

Variables (0)

This section is empty.

Procedure Groups (2)

Types

Small_Array ¶

Small_Array :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

Constants

This section is empty.

Variables

This section is empty.

Procedures

cap ¶

cap :: proc "odin" (a: $A/Small_Array) -> int {…}

clear ¶

clear :: proc "odin" (a: ^$A/Small_Array($N, $T)) {…}

consume ¶

consume :: proc "odin" (a: ^$A/Small_Array($N, $T), count: int, loc := #caller_location) {…}

get ¶

get :: proc "odin" (a: $A/Small_Array($N, $T), index: int) -> $ {…}

get_ptr ¶

get_ptr :: proc "odin" (a: ^$A/Small_Array($N, $T), index: int) -> ^$ {…}

len ¶

len :: proc "odin" (a: $A/Small_Array) -> int {…}

pop_back ¶

pop_back :: proc "odin" (a: ^$A/Small_Array($N, $T), loc := #caller_location) -> $ {…}

pop_back_safe ¶

pop_back_safe :: proc "odin" (a: ^$A/Small_Array($N, $T)) -> (item: $, ok: bool) {…}

pop_front ¶

pop_front :: proc "odin" (a: ^$A/Small_Array($N, $T), loc := #caller_location) -> $ {…}

pop_front_safe ¶

pop_front_safe :: proc "odin" (a: ^$A/Small_Array($N, $T)) -> (item: $, ok: bool) {…}

push_back ¶

push_back :: proc "odin" (a: ^$A/Small_Array($N, $T), item: $) -> bool {…}

push_back_elems ¶

push_back_elems :: proc "odin" (a: ^$A/Small_Array($N, $T), items: ..$) {…}

push_front ¶

push_front :: proc "odin" (a: ^$A/Small_Array($N, $T), item: $) -> bool {…}

resize ¶

resize :: proc "odin" (a: ^$A/Small_Array, length: int) {…}

set ¶

set :: proc "odin" (a: ^$A/Small_Array($N, $T), index: int, item: $) {…}

slice ¶

slice :: proc "odin" (a: ^$A/Small_Array($N, $T)) -> []$ {…}

space ¶

space :: proc "odin" (a: $A/Small_Array) -> int {…}

Procedure Groups

Source Files

Generation Information

Generated with odin version dev-2022-10 (vendor "odin") Windows_amd64 @ 2022-10-05 21:11:47.304919700 +0000 UTC