PostGIS  3.1.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 266 of file mvt.c.

267 {
268  struct mvt_kv_key *kv;
269  HASH_FIND(hh, ctx->keys_hash, name, size, kv);
270  if (!kv)
271  return UINT32_MAX;
272  return kv->id;
273 }
#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:69
UT_hash_handle hh
Definition: mvt.c:70
char * name
Definition: mvt.c:68
Definition: mvt.c:67

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: