aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-03-29 09:35:36 -0400
committerDavid Robillard <d@drobilla.net>2024-03-29 09:35:36 -0400
commitb1fc9980dfb154cb960d68b9932988e865a66437 (patch)
treeec3c1d89958f1ac3a5ecf5180b6dfccab827166f
parent14c33b2ee734bf7f44d754695689ae778261005c (diff)
downloadserd-b1fc9980dfb154cb960d68b9932988e865a66437.tar.gz
serd-b1fc9980dfb154cb960d68b9932988e865a66437.tar.bz2
serd-b1fc9980dfb154cb960d68b9932988e865a66437.zip
Remove redundant enumerator values
-rw-r--r--include/serd/serd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index c59309c4..498c1dab 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -329,14 +329,14 @@ typedef enum {
This type is useful as a sentinel, but is never emitted by the reader.
*/
- SERD_NOTHING = 0,
+ SERD_NOTHING,
/**
Literal value.
A literal optionally has either a language, or a datatype (not both).
*/
- SERD_LITERAL = 1,
+ SERD_LITERAL,
/**
URI (absolute or relative).
@@ -346,7 +346,7 @@ typedef enum {
URI (e.g. "http://example.org/foo").
@see [RFC3986](http://tools.ietf.org/html/rfc3986)
*/
- SERD_URI = 2,
+ SERD_URI,
/**
CURIE, a shortened URI.
@@ -354,7 +354,7 @@ typedef enum {
Value is an unquoted CURIE string relative to the current environment,
e.g. "rdf:type". @see [CURIE Syntax 1.0](http://www.w3.org/TR/curie)
*/
- SERD_CURIE = 3,
+ SERD_CURIE,
/**
A blank node.
@@ -363,7 +363,7 @@ typedef enum {
is meaningful only within this serialisation. @see [RDF 1.1
Turtle](http://www.w3.org/TR/turtle/#grammar-production-BLANK_NODE_LABEL)
*/
- SERD_BLANK = 4,
+ SERD_BLANK,
} SerdType;
/// A syntactic RDF node