aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-10 22:50:31 +0100
committerDavid Robillard <d@drobilla.net>2020-06-21 18:12:04 +0200
commitb717579988e675a5e4e5e826ff33097112a87934 (patch)
treeb165e5a4173bfeb558594e485560fc4ec6513278 /serd
parent76879841220ee530ab424defd3f6884c344fe749 (diff)
downloadserd-b717579988e675a5e4e5e826ff33097112a87934.tar.gz
serd-b717579988e675a5e4e5e826ff33097112a87934.tar.bz2
serd-b717579988e675a5e4e5e826ff33097112a87934.zip
Add support for writing terse collections
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 67ecf1db..a5b28676 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -127,7 +127,9 @@ typedef enum {
SERD_ANON_S = 1 << 1, ///< Start of anonymous subject
SERD_ANON_O = 1 << 2, ///< Start of anonymous object
SERD_LIST_S = 1 << 3, ///< Start of list subject
- SERD_LIST_O = 1 << 4 ///< Start of list object
+ SERD_LIST_O = 1 << 4, ///< Start of list object
+ SERD_TERSE_S = 1 << 5, ///< Terse serialisation of new subject
+ SERD_TERSE_O = 1 << 6 ///< Terse serialisation of new object
} SerdStatementFlag;
/// Bitwise OR of SerdStatementFlag values