PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwgeom_version()

const char* lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 36 of file lwgeom_api.c.

References LIBLWGEOM_VERSION.

Referenced by postgis_liblwgeom_version().

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