Writes a float64 to the buffer.
Definition at line 307 of file bytebuffer.c.
309 LWDEBUGF(2,
"Entered bytebuffer_append_double with value %lf swap = %d", val, swap);
312 char *dptr = (
char*)(&val);
325 LWDEBUG(4,
"Ok, let's do the swapping thing");
335 LWDEBUG(4,
"Ok, let's do the memcopying thing");
340 LWDEBUG(4,
"Return from bytebuffer_append_double");
static void bytebuffer_makeroom(bytebuffer_t *s, size_t size_to_add)
If necessary, expand the bytebuffer_t internal buffer to accomodate the specified additional size.
#define WKB_DOUBLE_SIZE
Well-Known Binary (WKB) Output Variant Types.
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
References bytebuffer_t::buf_start, bytebuffer_makeroom(), LWDEBUG, LWDEBUGF, lwerror(), WKB_DOUBLE_SIZE, and bytebuffer_t::writecursor.