aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/statement.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-05 18:28:27 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commitee946a0de13a22ff83c288aa64ef3f4fd381da75 (patch)
treeab205c8c977203963eae308e6ec998f29e97a1e9 /include/serd/statement.h
parentd62c7dc45af3256c6cd70d12a11e91b5b872c7db (diff)
downloadserd-ee946a0de13a22ff83c288aa64ef3f4fd381da75.tar.gz
serd-ee946a0de13a22ff83c288aa64ef3f4fd381da75.tar.bz2
serd-ee946a0de13a22ff83c288aa64ef3f4fd381da75.zip
Simplify statement flags
Diffstat (limited to 'include/serd/statement.h')
-rw-r--r--include/serd/statement.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/serd/statement.h b/include/serd/statement.h
index eff7b796..aee632cb 100644
--- a/include/serd/statement.h
+++ b/include/serd/statement.h
@@ -29,14 +29,12 @@ typedef enum {
/// Flags indicating inline abbreviation information for a statement
typedef enum {
- SERD_EMPTY_S = 1U << 1U, ///< Empty blank node subject
- SERD_EMPTY_O = 1U << 2U, ///< Empty blank node object
- SERD_ANON_S_BEGIN = 1U << 3U, ///< Start of anonymous subject
- SERD_ANON_O_BEGIN = 1U << 4U, ///< Start of anonymous object
- SERD_ANON_CONT = 1U << 5U, ///< Continuation of anonymous node
- SERD_LIST_S_BEGIN = 1U << 6U, ///< Start of list subject
- SERD_LIST_O_BEGIN = 1U << 7U, ///< Start of list object
- SERD_LIST_CONT = 1U << 8U, ///< Continuation of list
+ SERD_EMPTY_S = 1U << 0U, ///< Empty blank node subject
+ SERD_EMPTY_O = 1U << 1U, ///< Empty blank node object
+ SERD_ANON_S = 1U << 2U, ///< Start of anonymous subject
+ SERD_ANON_O = 1U << 3U, ///< Start of anonymous object
+ SERD_LIST_S = 1U << 4U, ///< Start of list subject
+ SERD_LIST_O = 1U << 5U, ///< Start of list object
} SerdStatementFlag;
/// Bitwise OR of SerdStatementFlag values