PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwgeom_version()

const char* lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 41 of file lwgeom_api.c.

References LIBLWGEOM_VERSION.

Referenced by postgis_liblwgeom_version().

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