|
#define | VTM_MK_INT8(VAL) vtm_map_key_from_int8(VAL) |
|
#define | VTM_MK_UINT8(VAL) vtm_map_key_from_uint8(VAL) |
|
#define | VTM_MK_INT16(VAL) vtm_map_key_from_int16(VAL) |
|
#define | VTM_MK_UINT16(VAL) vtm_map_key_from_uint16(VAL) |
|
#define | VTM_MK_INT32(VAL) vtm_map_key_from_int32(VAL) |
|
#define | VTM_MK_UINT32(VAL) vtm_map_key_from_uint32(VAL) |
|
#define | VTM_MK_INT64(VAL) vtm_map_key_from_int64(VAL) |
|
#define | VTM_MK_UINT64(VAL) vtm_map_key_from_uint64(VAL) |
|
#define | VTM_MK_BOOL(VAL) vtm_map_key_from_bool(VAL) |
|
#define | VTM_MK_CHAR(VAL) vtm_map_key_from_char(VAL) |
|
#define | VTM_MK_SCHAR(VAL) vtm_map_key_from_schar(VAL) |
|
#define | VTM_MK_UCHAR(VAL) vtm_map_key_from_uchar(VAL) |
|
#define | VTM_MK_SHORT(VAL) vtm_map_key_from_short(VAL) |
|
#define | VTM_MK_USHORT(VAL) vtm_map_key_from_ushort(VAL) |
|
#define | VTM_MK_INT(VAL) vtm_map_key_from_int(VAL) |
|
#define | VTM_MK_UINT(VAL) vtm_map_key_from_uint(VAL) |
|
#define | VTM_MK_LONG(VAL) vtm_map_key_from_long(VAL) |
|
#define | VTM_MK_ULONG(VAL) vtm_map_key_from_ulong(VAL) |
|
#define | VTM_MK_FLOAT(VAL) vtm_map_key_from_floatVAL) |
|
#define | VTM_MK_DOUBLE(VAL) vtm_map_key_from_double(VAL) |
|
#define | VTM_MK_STR(VAL) vtm_map_key_from_str(VAL) |
|
#define | VTM_MK_PTR(VAL) vtm_map_key_from_ptr(VAL) |
|
#define | VTM_MV_NULL() VTM_V_NULL() |
|
#define | VTM_MV_INT8(VAL) VTM_V_INT8(VAL) |
|
#define | VTM_MV_UINT8(VAL) VTM_V_UINT8(VAL) |
|
#define | VTM_MV_INT16(VAL) VTM_V_INT16(VAL) |
|
#define | VTM_MV_UINT16(VAL) VTM_V_UINT16(VAL) |
|
#define | VTM_MV_INT32(VAL) VTM_V_INT32(VAL) |
|
#define | VTM_MV_UINT32(VAL) VTM_V_UINT32(VAL) |
|
#define | VTM_MV_INT64(VAL) VTM_V_INT64(VAL) |
|
#define | VTM_MV_UINT64(VAL) VTM_V_UINT64(VAL) |
|
#define | VTM_MV_BOOL(VAL) VTM_V_BOOL(VAL) |
|
#define | VTM_MV_CHAR(VAL) VTM_V_CHAR(VAL) |
|
#define | VTM_MV_SCHAR(VAL) VTM_V_SCHAR(VAL) |
|
#define | VTM_MV_UCHAR(VAL) VTM_V_UCHAR(VAL) |
|
#define | VTM_MV_SHORT(VAL) VTM_V_SHORT(VAL) |
|
#define | VTM_MV_USHORT(VAL) VTM_V_USHORT(VAL) |
|
#define | VTM_MV_INT(VAL) VTM_V_INT(VAL) |
|
#define | VTM_MV_UINT(VAL) VTM_V_UINT(VAL) |
|
#define | VTM_MV_LONG(VAL) VTM_V_LONG(VAL) |
|
#define | VTM_MV_ULONG(VAL) VTM_V_ULONG(VAL) |
|
#define | VTM_MV_FLOAT(VAL) VTM_V_FLOAT(VAL) |
|
#define | VTM_MV_DOUBLE(VAL) VTM_V_DOUBLE(VAL) |
|
#define | VTM_MV_STR(VAL) VTM_V_STR(VAL) |
|
#define | VTM_MV_PTR(VAL) VTM_V_PTR(VAL) |
|
|
VTM_API vtm_map * | vtm_map_new (enum vtm_elem_type keytype, enum vtm_elem_type valuetype, size_t capacity) |
|
VTM_API void | vtm_map_free (vtm_map *map) |
|
VTM_API void | vtm_map_set_free_func (vtm_map *map, vtm_map_free_func func) |
|
VTM_API size_t | vtm_map_size (vtm_map *map) |
|
VTM_API void | vtm_map_clear (vtm_map *map) |
|
VTM_API vtm_list * | vtm_map_entryset (vtm_map *map) |
|
VTM_API int | vtm_map_put (vtm_map *map, struct vtm_map_key key, struct vtm_variant val) |
|
VTM_API int | vtm_map_put_va (vtm_map *map,...) |
|
VTM_API union vtm_elem * | vtm_map_get (vtm_map *map, struct vtm_map_key key) |
|
VTM_API union vtm_elem * | vtm_map_get_va (vtm_map *map,...) |
|
VTM_API void * | vtm_map_get_pointer (vtm_map *map, struct vtm_map_key key) |
|
VTM_API void * | vtm_map_get_pointer_va (vtm_map *map,...) |
|
VTM_API bool | vtm_map_remove (vtm_map *map, struct vtm_map_key key) |
|
VTM_API bool | vtm_map_remove_va (vtm_map *map,...) |
|
VTM_API bool | vtm_map_contains_key (vtm_map *map, struct vtm_map_key key) |
|
VTM_API bool | vtm_map_contains_key_va (vtm_map *map,...) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_int8 (int8_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uint8 (uint8_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_int16 (int16_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uint16 (uint16_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_int32 (int32_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uint32 (uint32_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_int64 (int64_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uint64 (uint64_t val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_bool (bool val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_char (char val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_schar (signed char val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uchar (unsigned char val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_short (short val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_ushort (unsigned short) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_int (int val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_uint (unsigned int val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_long (long val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_ulong (unsigned long val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_float (float val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_double (double val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_str (const char *val) |
|
VTM_API struct vtm_map_key | vtm_map_key_from_ptr (void *val) |
|