PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ GetPrepGeomHashEntry()

static PrepGeomHashEntry * GetPrepGeomHashEntry ( MemoryContext  mcxt)
static

Definition at line 257 of file lwgeom_geos_prepared.c.

References PrepGeomHash.

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

258 {
259  void **key;
260  PrepGeomHashEntry *he;
261 
262  /* The hash key is the MemoryContext pointer */
263  key = (void *)&mcxt;
264 
265  /* Return the projection object from the hash */
266  he = (PrepGeomHashEntry *) hash_search(PrepGeomHash, key, HASH_FIND, NULL);
267 
268  return he;
269 }
static HTAB * PrepGeomHash
Here is the caller graph for this function: