Definition at line 912 of file gserialized1.c.
913{
914 uint8_t *loc;
915 int ptsize;
916 size_t size;
918
919 assert(curve);
920 assert(buf);
921
923 lwerror(
"Dimensions mismatch in lwcircstring");
924
925
927 loc = buf;
928
929
930 memcpy(loc, &type, sizeof(uint32_t));
931 loc += sizeof(uint32_t);
932
933
935 loc += sizeof(uint32_t);
936
937
939 {
942 loc += size;
943 }
944
945 return (size_t)(loc - buf);
946}
#define FLAGS_GET_ZM(flags)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
static size_t ptarray_point_size(const POINTARRAY *pa)
References CIRCSTRINGTYPE, POINTARRAY::flags, LWCIRCSTRING::flags, FLAGS_GET_ZM, getPoint_internal(), lwerror(), POINTARRAY::npoints, LWCIRCSTRING::points, and ptarray_point_size().
Referenced by gserialized1_from_lwgeom_any().