PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_version()

const char * lwgeom_version ( void  )

Return lwgeom version string (not to be freed)

Definition at line 38 of file lwgeom_api.c.

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

References LIBLWGEOM_VERSION, and xstr.

Referenced by postgis_liblwgeom_version().

Here is the caller graph for this function: