diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 14f1d39b4180475a5fa9030fccf95fdc8b693c09 (patch) | |
tree | b48575740b19b1477a71cbda8be920dddd507328 /serd | |
parent | 73a031cb9bf871eb515da436bc4c1228891e2457 (diff) | |
download | serd-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.h | 7 |
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); |