// Code generated by puffs-gen-c. DO NOT EDIT. // 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 typedef struct { uint32_t literal_width; uint8_t stack[4096]; uint8_t suffixes[4096]; uint16_t prefixes[4096]; } puffs_gif_lzw_decoder;