Hashmap
hashmap โ API Reference
Section titled โhashmap โ API ReferenceโImport:
std/hashmap.axs
Public Functions (10)
Section titled โPublic Functions (10)โ| Function | Signature | Return Type |
|---|---|---|
map_new | () | (map string i64) |
map_set | (m: (map string i64), key: string, val: i64) | void |
map_get | (m: (map string i64), key: string) | (ptr i64) |
map_val | (m: (map string i64), key: string) | i64 |
map_get_or | (m: (map string i64), key: string, default: i64) | i64 |
map_has | (m: (map string i64), key: string) | bool |
map_del | (m: (map string i64), key: string) | bool |
map_len | (m: (map string i64)) | i64 |
map_is_empty | (m: (map string i64)) | bool |
map_free | (m: (map string i64)) | void |
Signatures
Section titled โSignaturesโmap_new() โ (map string i64)map_set(m: (map string i64), key: string, val: i64) โ voidmap_get(m: (map string i64), key: string) โ (ptr i64)map_val(m: (map string i64), key: string) โ i64map_get_or(m: (map string i64), key: string, default: i64) โ i64map_has(m: (map string i64), key: string) โ boolmap_del(m: (map string i64), key: string) โ boolmap_len(m: (map string i64)) โ i64map_is_empty(m: (map string i64)) โ boolmap_free(m: (map string i64)) โ voidFFI Extern Declarations (2)
Section titled โFFI Extern Declarations (2)โThese are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
print_i64 | i64 | void |
axon_panic | string | void |
Auto-generated from std/hashmap.axs by scripts/gen_docs.sh