Add pixel_format, image_buffer, etc. definitions

This commit is contained in:
Nigel Tao committed 2018-04-05 17:09:33 +10:00
1 parent e700bcd4f8
commit 82a48796c8
20 files changed
+4865 -446

No files matched your search

+2 -2
View File
@@ -27,14 +27,14 @@ typedef struct {
// but it should catch 99.99% of cases.
//
// Its (non-zero) value is arbitrary, based on md5sum("wuffs").
#define WUFFS_BASE__MAGIC (0x3CCB6C71U)
#define WUFFS_BASE__MAGIC 0x3CCB6C71U
// WUFFS_BASE__ALREADY_ZEROED is passed from a container struct's initializer
// to a containee struct's initializer when the container has already zeroed
// the containee's memory.
//
// Its (non-zero) value is arbitrary, based on md5sum("zeroed").
#define WUFFS_BASE__ALREADY_ZEROED (0x68602EF1U)
#define WUFFS_BASE__ALREADY_ZEROED 0x68602EF1U
// Denote intentional fallthroughs for -Wimplicit-fallthrough.
//