778{
779 uint8_t *loc;
780 int ptsize;
781 size_t size;
783
784 assert(line);
785 assert(buf);
786
787 LWDEBUGF(2,
"%s (%p, %p) called", __func__, line, buf);
788
790 lwerror(
"Dimensions mismatch in lwline");
791
793
794 loc = buf;
795
796
797 memcpy(loc, &type, sizeof(uint32_t));
798 loc += sizeof(uint32_t);
799
800
802 loc += sizeof(uint32_t);
803
805
806
808 {
811 loc += size;
812 }
814
815 return (size_t)(loc - buf);
816}
#define FLAGS_GET_Z(flags)
#define LWDEBUGF(level, msg,...)
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)