838{
839 uint8_t *loc;
840 int ptsize;
841 size_t size;
843
844 assert(line);
845 assert(buf);
846
847 LWDEBUGF(2,
"%s (%p, %p) called", __func__, line, buf);
848
850 lwerror(
"Dimensions mismatch in lwline");
851
853
854 loc = buf;
855
856
857 memcpy(loc, &type, sizeof(uint32_t));
858 loc += sizeof(uint32_t);
859
860
862 loc += sizeof(uint32_t);
863
865
866
868 {
871 loc += size;
872 }
874
875 return (size_t)(loc - buf);
876}
#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)