diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:48 -0500 |
commit | d6936bcc76d8a4459fbdc7b2b2e1fba252759587 (patch) | |
tree | 0f4b4bb314875fa248a3e1ef45593d83f16ea0cf /serd | |
parent | 901626455b80f63b6e0dc4ca45ac0a0319364c77 (diff) | |
download | serd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.tar.gz serd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.tar.bz2 serd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.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 a2645343..f4391f4e 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -311,6 +311,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 @@ -1164,7 +1169,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); |