Mercurial > hg > dmlib
diff src/dmzlib.h @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | 043b5942fdb6 |
children |
line wrap: on
line diff
--- a/src/dmzlib.h Thu Dec 08 15:56:36 2022 +0200 +++ b/src/dmzlib.h Thu Dec 08 15:59:22 2022 +0200 @@ -24,7 +24,7 @@ typedef struct { - BOOL initialized; + bool initialized; Uint16 fast[DM_ZLIB_HFAST_SIZE]; Uint16 firstCode[16]; @@ -45,7 +45,7 @@ Uint32 codeBuffer; Uint8 *outBuffer, *outBufferStart, *outBufferEnd; - BOOL expandable; + bool expandable; DMZHuffmanContext zlength, zdistance; } DMZLibContext; @@ -56,7 +56,7 @@ int dmZLibInitInflate(DMZLibContext *ctx); void dmZLibCloseInflate(DMZLibContext *ctx); -int dmZLibParseHeader(DMZLibContext * ctx, BOOL checkPNG); +int dmZLibParseHeader(DMZLibContext * ctx, bool checkPNG); int dmZLibInflate(DMZLibContext * ctx);