From d6936bcc76d8a4459fbdc7b2b2e1fba252759587 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Jun 2018 09:39:48 -0400 Subject: Separate style enum from style flags types --- serd/serd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index a2645343..f4391f4e 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -310,6 +310,11 @@ typedef enum { SERD_STYLE_BULK = 1 << 4 /**< Write output in pages. */ } SerdStyle; +/** + Bitwise OR of SerdStyle values. +*/ +typedef uint32_t SerdStyleFlags; + /** Free memory allocated by Serd. @@ -1164,7 +1169,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); -- cgit v1.2.1