aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--include/serd/serd.h8
2 files changed, 6 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 8ca038a5..fc35155c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,11 @@
serd (0.32.3) unstable; urgency=medium
+ * Clean up enum declarations
* Fix library current_version on MacOS
* Fix parsing NQuads lines with no space before the final dot
* Support reading lone lists in lax mode
- -- David Robillard <d@drobilla.net> Fri, 29 Mar 2024 10:48:45 +0000
+ -- David Robillard <d@drobilla.net> Fri, 29 Mar 2024 13:36:36 +0000
serd (0.32.2) stable; urgency=medium
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 498c1dab..1f84950b 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -75,10 +75,10 @@ extern "C" {
/// RDF syntax type
typedef enum {
- SERD_TURTLE = 1, ///< Terse triples http://www.w3.org/TR/turtle
- SERD_NTRIPLES = 2, ///< Line-based triples http://www.w3.org/TR/n-triples/
- SERD_NQUADS = 3, ///< Line-based quads http://www.w3.org/TR/n-quads/
- SERD_TRIG = 4, ///< Terse quads http://www.w3.org/TR/trig/
+ SERD_TURTLE = 1U, ///< Terse triples http://www.w3.org/TR/turtle
+ SERD_NTRIPLES = 2U, ///< Line-based triples http://www.w3.org/TR/n-triples/
+ SERD_NQUADS = 3U, ///< Line-based quads http://www.w3.org/TR/n-quads/
+ SERD_TRIG = 4U, ///< Terse quads http://www.w3.org/TR/trig/
} SerdSyntax;
/// Flags indicating certain string properties relevant to serialisation