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>2019-12-20 10:26:55 -0500
commit0474b622e7fb5b58268bd7064f054a75d1e3a550 (patch)
tree81f3a335e979818f5b32c656ef9955ab4103883b /serd
parent56d89f80566dbcf4089d1b08a0361aaef97de380 (diff)
downloadserd-0474b622e7fb5b58268bd7064f054a75d1e3a550.tar.gz
serd-0474b622e7fb5b58268bd7064f054a75d1e3a550.tar.bz2
serd-0474b622e7fb5b58268bd7064f054a75d1e3a550.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 bde720b9..f320cc19 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -128,7 +128,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