diff options
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -16,11 +16,15 @@ #include "serd_internal.h" +#include <assert.h> #include <float.h> #include <math.h> #include <stdlib.h> #include <string.h> +#include "node.h" +#include "string_utils.h" + #ifdef _WIN32 # ifndef isnan # define isnan(x) _isnan(x) @@ -63,12 +67,6 @@ serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdType type) return node; } -char* -serd_node_buffer(SerdNode* node) -{ - return (char*)(node + 1); -} - void serd_node_set(SerdNode** dst, const SerdNode* src) { |