Go to the source code of this file.
◆ pair_new
◆ as_pair_1()
Get the first value of the pair
Definition at line 111 of file as_pair.h.
◆ as_pair_2()
Get the second value of the pair
Definition at line 119 of file as_pair.h.
◆ as_pair_destroy()
static void as_pair_destroy |
( |
as_pair * | pair | ) |
|
|
inlinestatic |
Destroy the as_pair
and release associated resources.
Definition at line 97 of file as_pair.h.
◆ as_pair_fromval()
◆ as_pair_init()
Initializes a stack allocated as_pair
.
- Parameters
-
pair | The pair to initialize. |
_1 | The first value. |
_2 | The second value. |
- Returns
- On success, the new pair. Otherwise NULL.
◆ as_pair_new()
Create and initializes a new heap allocated as_pair
.
- Parameters
-
_1 | The first value. |
_2 | The second value. |
- Returns
- On success, the new pair. Otherwise NULL.
◆ as_pair_toval()
◆ as_pair_val_destroy()
Internal helper function for destroying an as_val.
◆ as_pair_val_hashcode()
Internal helper function for getting the hashcode of an as_val.
◆ as_pair_val_tostring()
Internal helper function for getting the string representation of an as_val.