Made it more readable by factoring the #ifdefs into separate files.
Additionally, removed the needless heap allocation in the wuffs-using implementation of parse, and added a comment on the seemingly "correct" way to do this if you did want that, which was not what was being used previously.
Added comments about why wuffs_base__status__is_ok() might return false.
Made it more readable by factoring the
#ifdefs
into separate files.Additionally, removed the needless heap allocation in the
wuffs
-using implementation ofparse
, and added a comment on the seemingly "correct" way to do this if you did want that, which was not what was being used previously.Added comments about why
wuffs_base__status__is_ok()
might returnfalse
.