// After editing this file, run "go generate" in this directory. // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file. #include #include // Puffs requires a word size of at least 32 bits because it assumes that // converting a u32 to usize will never overflow. For example, the size of a // decoded image is often represented, explicitly or implicitly in an image // file, as a u32, and it is convenient to compare that to a buffer size. #if __WORDSIZE < 32 #error "Puffs requires a word size of at least 32 bits" #endif