PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ GetPrepGeomHashEntry()

static PrepGeomHashEntry * GetPrepGeomHashEntry ( MemoryContext  mcxt)
static

Definition at line 175 of file lwgeom_geos_prepared.c.

176 {
177  void **key;
178  PrepGeomHashEntry *he;
179 
180  /* The hash key is the MemoryContext pointer */
181  key = (void *)&mcxt;
182 
183  /* Return the projection object from the hash */
184  he = (PrepGeomHashEntry *) hash_search(PrepGeomHash, key, HASH_FIND, NULL);
185 
186  return he;
187 }
static HTAB * PrepGeomHash

References PrepGeomHash.

Referenced by PreparedCacheDelete(), PrepGeomCacheBuilder(), and PrepGeomCacheCleaner().

Here is the caller graph for this function: