PostGIS  3.2.2dev-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 268 of file mvt.c.

269 {
270  struct mvt_kv_key *kv;
271  HASH_FIND(hh, ctx->keys_hash, name, size, kv);
272  if (!kv)
273  return UINT32_MAX;
274  return kv->id;
275 }
#define UINT32_MAX
Definition: lwin_wkt_lex.c:343
struct mvt_kv_key * keys_hash
Definition: mvt.h:81
uint32_t id
Definition: mvt.c:71
UT_hash_handle hh
Definition: mvt.c:72
char * name
Definition: mvt.c:70
Definition: mvt.c:69

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: