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>2020-10-27 13:13:58 +0100
commit14f1d39b4180475a5fa9030fccf95fdc8b693c09 (patch)
treeb48575740b19b1477a71cbda8be920dddd507328 /serd
parent73a031cb9bf871eb515da436bc4c1228891e2457 (diff)
downloadserd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.tar.gz
serd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.tar.bz2
serd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.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 136d72f2..6e68e349 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -307,6 +307,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
@@ -1203,7 +1208,7 @@ SERD_API
SerdWriter*
serd_writer_new(SerdWorld* world,
SerdSyntax syntax,
- SerdStyle style,
+ SerdStyleFlags style,
SerdEnv* env,
SerdWriteFunc ssink,
void* stream);