PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ get_key_index_with_size()

static uint32_t get_key_index_with_size ( mvt_agg_context ctx,
const char *  name,
size_t  size 
)
static

Definition at line 316 of file mvt.c.

317{
318 struct mvt_kv_key *kv;
319 HASH_FIND(hh, ctx->keys_hash, name, size, kv);
320 if (!kv)
321 return UINT32_MAX;
322 return kv->id;
323}
#define UINT32_MAX
struct mvt_kv_key * keys_hash
Definition mvt.h:83
uint32_t id
Definition mvt.c:65
UT_hash_handle hh
Definition mvt.c:66
char * name
Definition mvt.c:64

References mvt_kv_key::hh, mvt_kv_key::id, mvt_agg_context::keys_hash, mvt_kv_key::name, and UINT32_MAX.

Referenced by parse_jsonb().

Here is the caller graph for this function: