aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-19 09:39:48 -0400
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:47 +0100
commitf591a377441dd4ac32c389bd4ef19def580ca267 (patch)
treebcdad49bbe1e4044209bb939dbf41e2ec0cb0d6b /serd
parent42ebdc8f2c9f237f676065e1ee8357b8a82b9121 (diff)
downloadserd-f591a377441dd4ac32c389bd4ef19def580ca267.tar.gz
serd-f591a377441dd4ac32c389bd4ef19def580ca267.tar.bz2
serd-f591a377441dd4ac32c389bd4ef19def580ca267.zip
Separate style enum from style flags types
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 4a1ccd0d..cf079842 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -312,6 +312,11 @@ typedef enum {
} SerdStyle;
/**
+ Bitwise OR of SerdStyle values.
+*/
+typedef uint32_t SerdStyleFlags;
+
+/**
Free memory allocated by Serd.
This function exists because some systems require memory allocated by a
@@ -1167,7 +1172,7 @@ SERD_API
SerdWriter*
serd_writer_new(SerdWorld* world,
SerdSyntax syntax,
- SerdStyle style,
+ SerdStyleFlags style,
SerdEnv* env,
SerdWriteFunc ssink,
void* stream);