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

◆ cu_wkb_from_hexwkb()

static void cu_wkb_from_hexwkb ( char *  hexwkb)
static

Definition at line 50 of file cu_out_wkb.c.

51{
53 if ( s ) free(s);
54 s = (char*)lwgeom_to_wkb(g, WKB_HEX | WKB_XDR | WKB_EXTENDED, 0);
55 lwgeom_free(g);
56}
static char * s
Definition cu_out_wkb.c:23
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1138
#define LW_PARSER_CHECK_NONE
Definition liblwgeom.h:2060
#define WKB_HEX
Definition liblwgeom.h:2126
LWGEOM * lwgeom_from_hexwkb(const char *hexwkb, const char check)
Definition lwin_wkb.c:857
#define WKB_EXTENDED
Definition liblwgeom.h:2123
uint8_t * lwgeom_to_wkb(const LWGEOM *geom, uint8_t variant, size_t *size_out)
Convert LWGEOM to a char* in WKB format.
Definition lwout_wkb.c:790
#define WKB_XDR
Definition liblwgeom.h:2125
void free(void *)

References free(), LW_PARSER_CHECK_NONE, lwgeom_free(), lwgeom_from_hexwkb(), lwgeom_to_wkb(), s, WKB_EXTENDED, WKB_HEX, and WKB_XDR.

Referenced by test_wkb_out_polygon().

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