PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ GetPrepGeomHashEntry()

static PrepGeomHashEntry * GetPrepGeomHashEntry ( MemoryContext  mcxt)
static

Definition at line 250 of file lwgeom_geos_prepared.c.

251 {
252  void **key;
253  PrepGeomHashEntry *he;
254 
255  /* The hash key is the MemoryContext pointer */
256  key = (void *)&mcxt;
257 
258  /* Return the projection object from the hash */
259  he = (PrepGeomHashEntry *) hash_search(PrepGeomHash, key, HASH_FIND, NULL);
260 
261  return he;
262 }
static HTAB * PrepGeomHash
#define HASH_FIND(hh, head, keyptr, keylen, out)
Definition: uthash.h:132

References HASH_FIND, and PrepGeomHash.

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

Here is the caller graph for this function: