aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-12 13:42:25 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit8346ac7f529f5aeb8d8b0e48837e680ea14e8893 (patch)
tree0e1aa8f67135af24cbbfe5a5911b1a74e5699df6 /src/world.h
parent3ea3143632e3577ac5794faed1141e460a11a9fb (diff)
downloadserd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.gz
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.bz2
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.zip
Make blank node prefixing automatic
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future.
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/world.h b/src/world.h
index 2499b761..f615868a 100644
--- a/src/world.h
+++ b/src/world.h
@@ -14,10 +14,11 @@
#include <stdint.h>
struct SerdWorldImpl {
- SerdLimits limits;
SerdAllocator* allocator;
SerdLog log;
+ SerdLimits limits;
uint32_t next_blank_id;
+ uint32_t next_document_id;
SerdNode* blank_node;
bool stderr_color;