diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | 68a4f7cfbae546831e375e2097bd7efa57a1d565 (patch) | |
tree | a6f512f80a820d8c7a0adb7b5f86d2f23636771a /serd | |
parent | d398b559d7487822e56d62cb2c0197b772e9b35b (diff) | |
download | serd-68a4f7cfbae546831e375e2097bd7efa57a1d565.tar.gz serd-68a4f7cfbae546831e375e2097bd7efa57a1d565.tar.bz2 serd-68a4f7cfbae546831e375e2097bd7efa57a1d565.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 7571c82b..6a5bd1a1 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -303,6 +303,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 @@ -1199,7 +1204,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); |