PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ lwgeom_sfcgal_full_version()

const char* lwgeom_sfcgal_full_version ( void  )

Definition at line 43 of file lwgeom_sfcgal.c.

44 {
45 #if POSTGIS_SFCGAL_VERSION >= 10400
46  const char *version = sfcgal_full_version();
47 #else
48  char *version = (char*)lwalloc(MAX_LENGTH_SFCGAL_FULL_VERSION);
49  snprintf(version, MAX_LENGTH_SFCGAL_FULL_VERSION,
50  "SFCGAL=\"%s\" CGAL=\"Unknown\" Boost=\"Unknown\"",
51  sfcgal_version());
52 #endif
53  return version;
54 }
void * lwalloc(size_t size)
Definition: lwutil.c:227
#define MAX_LENGTH_SFCGAL_FULL_VERSION
Definition: lwgeom_sfcgal.c:40

References lwalloc(), and MAX_LENGTH_SFCGAL_FULL_VERSION.

Here is the call graph for this function: