#include <aerospike/as_util.h>
#include <aerospike/as_val.h>
#include <stdint.h>
Go to the source code of this file.
Get the first value of the pair
Definition at line 112 of file as_pair.h.
Get the second value of the pair
Definition at line 120 of file as_pair.h.
static void as_pair_destroy |
( |
as_pair * |
pair) | |
|
|
inlinestatic |
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.
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.
void as_pair_val_destroy |
( |
as_val * |
) | |
|
|
private |
Internal helper function for destroying an as_val.
uint32_t as_pair_val_hashcode |
( |
const as_val * |
) | |
|
|
private |
Internal helper function for getting the hashcode of an as_val.
char* as_pair_val_tostring |
( |
const as_val * |
) | |
|
|
private |
Internal helper function for getting the string representation of an as_val.