868{
869 uint8_t *loc;
870 int ptsize;
871 size_t size;
873
874 assert(line);
875 assert(buf);
876
877 LWDEBUGF(2,
"%s (%p, %p) called", __func__, line, buf);
878
880 lwerror(
"Dimensions mismatch in lwline");
881
883
884 loc = buf;
885
886
887 memcpy(loc, &type, sizeof(uint32_t));
888 loc += sizeof(uint32_t);
889
890
892 loc += sizeof(uint32_t);
893
895
896
898 {
901 loc += size;
902 }
904
905 return (size_t)(loc - buf);
906}
#define FLAGS_GET_Z(flags)
#define LWDEBUGF(level, msg,...)
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)