PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwgeom_sfcgal_full_version()

const char* lwgeom_sfcgal_full_version ( void  )

Definition at line 53 of file lwgeom_sfcgal.c.

54 {
55 #if POSTGIS_SFCGAL_VERSION >= 10400
56  const char *version = sfcgal_full_version();
57 #else
58  char *version = (char *)lwalloc(MAX_LENGTH_SFCGAL_FULL_VERSION);
59  snprintf(version,
61  "SFCGAL=\"%s\" CGAL=\"Unknown\" Boost=\"Unknown\"",
62  sfcgal_version());
63 #endif
64  return version;
65 }
void * lwalloc(size_t size)
Definition: lwutil.c:227
#define MAX_LENGTH_SFCGAL_FULL_VERSION
Definition: lwgeom_sfcgal.c:50

References lwalloc(), and MAX_LENGTH_SFCGAL_FULL_VERSION.

Here is the call graph for this function: