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

◆ postgis_libjson_version()

Datum postgis_libjson_version ( PG_FUNCTION_ARGS  )

Definition at line 66 of file lwgeom_in_geojson.c.

67{
68#ifndef HAVE_LIBJSON
69 PG_RETURN_NULL();
70#else /* HAVE_LIBJSON */
71# ifdef JSON_C_VERSION
72 const char *ver = json_c_version();
73# else
74 const char *ver = "UNKNOWN";
75# endif
76 text *result = cstring2text(ver);
77 PG_RETURN_POINTER(result);
78#endif
79}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
static text * cstring2text(const char *cstring)

References cstring2text(), and result.

Here is the call graph for this function: