PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_version()

const char* lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 37 of file lwgeom_api.c.

38 {
39  static char *ptr = NULL;
40  static char buf[256];
41  if ( ! ptr )
42  {
43  ptr = buf;
44  snprintf(ptr, 256, LIBLWGEOM_VERSION" r%d", POSTGIS_SVN_REVISION);
45  }
46 
47  return ptr;
48 }
#define LIBLWGEOM_VERSION
liblwgeom versions
Definition: liblwgeom.h:65

References LIBLWGEOM_VERSION.

Referenced by postgis_liblwgeom_version().

Here is the caller graph for this function: