PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ CreatePrepGeomHash()

static void CreatePrepGeomHash ( void  )
static

Definition at line 139 of file lwgeom_geos_prepared.c.

140 {
141  HASHCTL ctl;
142 
143  ctl.keysize = sizeof(MemoryContext);
144  ctl.entrysize = sizeof(PrepGeomHashEntry);
145  ctl.hash = mcxt_ptr_hasha;
146 
147  PrepGeomHash = hash_create("PostGIS Prepared Geometry Backend MemoryContext Hash", PREPARED_BACKEND_HASH_SIZE, &ctl, (HASH_ELEM | HASH_FUNCTION));
148 }
static HTAB * PrepGeomHash
uint32 mcxt_ptr_hasha(const void *key, Size keysize)
#define PREPARED_BACKEND_HASH_SIZE

References mcxt_ptr_hasha(), PREPARED_BACKEND_HASH_SIZE, and PrepGeomHash.

Referenced by PrepGeomCacheBuilder().

Here is the call graph for this function:
Here is the caller graph for this function: