aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reader.h b/src/reader.h
index 3ed4ecc8..4b31b94d 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -33,10 +33,6 @@
# define SERD_LOG_FUNC(fmt, arg1)
#endif
-SERD_LOG_FUNC(3, 4)
-int
-r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...);
-
#ifdef SERD_STACK_CHECK
# define SERD_STACK_ASSERT_TOP(reader, ref) \
assert(ref == reader->allocs[reader->n_allocs - 1]);
@@ -88,6 +84,10 @@ struct SerdReaderImpl {
#endif
};
+SERD_LOG_FUNC(3, 4)
+int
+r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...);
+
Ref push_node_padded(SerdReader* reader,
size_t maxlen,
SerdType type,