PostGIS  2.1.10dev-r@@SVN_REVISION@@
static PrepGeomHashEntry * GetPrepGeomHashEntry ( MemoryContext  mcxt)
static

Definition at line 235 of file lwgeom_geos_prepared.c.

References PrepGeomHash.

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

236 {
237  void **key;
238  PrepGeomHashEntry *he;
239 
240  /* The hash key is the MemoryContext pointer */
241  key = (void *)&mcxt;
242 
243  /* Return the projection object from the hash */
244  he = (PrepGeomHashEntry *) hash_search(PrepGeomHash, key, HASH_FIND, NULL);
245 
246  return he;
247 }
static HTAB * PrepGeomHash

Here is the caller graph for this function: