diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | 52179a7573a80b088e4fe1bd7d62e3e4cbbe2327 (patch) | |
tree | ba41682e2d7b2875324ddda3683bf3e7e3fb3999 /serd | |
parent | 97c7ace6c0897152786032d1372afdf8fb5fabec (diff) | |
download | serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.tar.gz serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.tar.bz2 serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.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 863ac9df..149d3e3e 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 @@ -1166,7 +1171,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); |