777{
778 uint8_t *loc;
779 int ptsize;
780 size_t size;
782
783 assert(line);
784 assert(buf);
785
786 LWDEBUGF(2,
"%s (%p, %p) called", __func__, line, buf);
787
789 lwerror(
"Dimensions mismatch in lwline");
790
792
793 loc = buf;
794
795
796 memcpy(loc, &type, sizeof(uint32_t));
797 loc += sizeof(uint32_t);
798
799
801 loc += sizeof(uint32_t);
802
804
805
807 {
810 loc += size;
811 }
813
814 return (size_t)(loc - buf);
815}
#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)