Update to constdef

This commit is contained in:
Christoffer Lerno
2026-02-19 12:16:46 +01:00
committed by Christoffer Lerno
parent 0387d7666d
commit 5a82f672b5
52 changed files with 189 additions and 182 deletions

View File

@@ -7,7 +7,7 @@ const uint PIXELS_MAX = 400000000;
Purely informative. It will be saved to the file header,
but does not affect how chunks are en-/decoded.
*>
const enum QOIColorspace : char
constdef QOIColorspace : char
{
<* sRGB with linear alpha *>
SRGB = 0,
@@ -21,7 +21,7 @@ const enum QOIColorspace : char
AUTO can be used when decoding to automatically determine
the channels from the file's header.
*>
const enum QOIChannels : inline char
constdef QOIChannels : inline char
{
AUTO = 0,
RGB = 3,