diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:27 -0500 |
commit | 2b8e55f6f1e25398f3d0189ff5917252d9c9be68 (patch) | |
tree | ac7195a4f28a9923981649a40efe0704e9dba40a /serd | |
parent | 13eb1a4deb05c902edd4f4b7f631abb208052dd1 (diff) | |
download | serd-2b8e55f6f1e25398f3d0189ff5917252d9c9be68.tar.gz serd-2b8e55f6f1e25398f3d0189ff5917252d9c9be68.tar.bz2 serd-2b8e55f6f1e25398f3d0189ff5917252d9c9be68.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 bca6c857..965496d8 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -304,6 +304,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 @@ -1205,7 +1210,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); |