Definition at line 973 of file gserialized2.c.
974{
975 uint8_t *loc;
976 int ptsize;
977 size_t size;
979
980 assert(curve);
981 assert(buf);
982
984 lwerror(
"Dimensions mismatch in lwcircstring");
985
986
988 loc = buf;
989
990
991 memcpy(loc, &type, sizeof(uint32_t));
992 loc += sizeof(uint32_t);
993
994
996 loc += sizeof(uint32_t);
997
998
1000 {
1003 loc += size;
1004 }
1005
1006 return (size_t)(loc - buf);
1007}
#define FLAGS_GET_ZM(flags)
void void lwerror(const char *fmt,...) __attribute__((format(printf
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 gserialized2_from_lwgeom_any().