Definition at line 913 of file gserialized1.c.
914{
915 uint8_t *loc;
916 int ptsize;
917 size_t size;
919
920 assert(curve);
921 assert(buf);
922
924 lwerror(
"Dimensions mismatch in lwcircstring");
925
926
928 loc = buf;
929
930
931 memcpy(loc, &type, sizeof(uint32_t));
932 loc += sizeof(uint32_t);
933
934
936 loc += sizeof(uint32_t);
937
938
940 {
943 loc += size;
944 }
945
946 return (size_t)(loc - buf);
947}
#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 gserialized1_from_lwgeom_any().