PostGIS  2.2.7dev-r@@SVN_REVISION@@
const char* lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 28 of file lwgeom_api.c.

References LIBLWGEOM_VERSION.

Referenced by postgis_liblwgeom_version().

29 {
30  static char *ptr = NULL;
31  static char buf[256];
32  if ( ! ptr )
33  {
34  ptr = buf;
35  snprintf(ptr, 256, LIBLWGEOM_VERSION" r%d", POSTGIS_SVN_REVISION);
36  }
37 
38  return ptr;
39 }
#define LIBLWGEOM_VERSION
liblwgeom versions
Definition: liblwgeom.h:50

Here is the caller graph for this function: