PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwgeom_version()

const char* lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 39 of file lwgeom_api.c.

40 {
41  static char *ptr = NULL;
42  static char buf[256];
43  if ( ! ptr )
44  {
45  ptr = buf;
46  snprintf(ptr, 256, LIBLWGEOM_VERSION" " xstr(POSTGIS_REVISION));
47  }
48 
49  return ptr;
50 }
#define LIBLWGEOM_VERSION
liblwgeom versions
Definition: liblwgeom.h:96
#define xstr(s)
Definition: lwgeom_api.c:35

References LIBLWGEOM_VERSION, and xstr.

Referenced by postgis_liblwgeom_version().

Here is the caller graph for this function: