Update comment for the __WORDSIZE constraint

Wuffs-the-language doesn't have an analog to C's size_t, so the previous
comment about "u32" and especially "usize" is obsolete.
This commit is contained in:
Nigel Tao committed 2018-04-12 22:08:38 +10:00
1 parent f95239f6e0
commit 62bbfe9915
13 files changed
+139 -205

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 ((uint32_t)0x3CCB6C71)
// 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 ((uint32_t)0x68602EF1)
// Denote intentional fallthroughs for -Wimplicit-fallthrough.
//