PostGIS  3.4.0dev-r@@SVN_REVISION@@
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages

◆ cu_wkb_malformed_in()

static void cu_wkb_malformed_in ( char *  hex)
static

Definition at line 50 of file cu_in_wkb.c.

51 {
53  if (g) {
54  char *outhex = lwgeom_to_hexwkb_buffer(g, 0);
55  printf("cu_wkb_malformed_in input: %s\n", hex);
56  printf("cu_wkb_malformed_in output: %s\n", outhex);
57  lwfree(outhex);
58  }
59  CU_ASSERT( g == NULL );
60 }
#define LW_PARSER_CHECK_ALL
Definition: liblwgeom.h:2115
LWGEOM * lwgeom_from_hexwkb(const char *hexwkb, const char check)
Definition: lwin_wkb.c:858
char * lwgeom_to_hexwkb_buffer(const LWGEOM *geom, uint8_t variant)
Definition: lwout_wkb.c:845
void lwfree(void *mem)
Definition: lwutil.c:242

References LW_PARSER_CHECK_ALL, lwfree(), lwgeom_from_hexwkb(), and lwgeom_to_hexwkb_buffer().

Referenced by test_wkb_in_malformed().

Here is the call graph for this function:
Here is the caller graph for this function: