libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblArrayMapEntry Struct Reference

#include <gimbal_array_map.h>

Data Fields

uintptr_t key
 
GblVariant value
 
GblArrayMapDtorFn dtor
 

Detailed Description

Represents a single K,V data entry within a GblArrayMap.

Note
The destructor field is only used for userdata values, while GblVariant values have automatic lifetime management.
See also
GblArrayMap

Definition at line 42 of file gimbal_array_map.h.

Field Documentation

◆ key

uintptr_t GblArrayMapEntry::key

Opaque key value.

Definition at line 43 of file gimbal_array_map.h.

◆ value

GblVariant GblArrayMapEntry::value

Using value.type == GBL_INVALID_TYPE to signify userdata.

Definition at line 44 of file gimbal_array_map.h.

◆ dtor

GblArrayMapDtorFn GblArrayMapEntry::dtor

Optional custom destructor for userdata types.

Definition at line 45 of file gimbal_array_map.h.


The documentation for this struct was generated from the following file: