mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Rename pixbuf_size to pixbuf_len
This commit is contained in:
1 parent
5bf7c5c051
commit
ca940b0c56
5 files changed
+26
-24
No files matched your search
@@ -225,7 +225,7 @@ size_t print_color_art(wuffs_base__pixel_buffer* pb) {
|
||||
// ----
|
||||
|
||||
const char* allocate(wuffs_base__image_config* ic) {
|
||||
image_len = wuffs_base__pixel_config__pixbuf_size(&ic->pixcfg);
|
||||
image_len = wuffs_base__pixel_config__pixbuf_len(&ic->pixcfg);
|
||||
if (image_len > (SIZE_MAX / sizeof(wuffs_base__color_u32argb))) {
|
||||
return "could not allocate dst buffer";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user