PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ 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 305 of file mvt.c.

306 {
307  struct mvt_kv_key *kv;
308  HASH_FIND(hh, ctx->keys_hash, name, size, kv);
309  if (!kv)
310  return UINT32_MAX;
311  return kv->id;
312 }
#define UINT32_MAX
Definition: lwin_wkt_lex.c:343
struct mvt_kv_key * keys_hash
Definition: mvt.h:70
uint32_t id
Definition: mvt.c:66
UT_hash_handle hh
Definition: mvt.c:67
char * name
Definition: mvt.c:65
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: