img: rename lab_img_cache to lab_img_data

This commit is contained in:
Consolatis 2025-01-05 17:26:32 +01:00
parent 7364de2ac5
commit 5d287ebda4
2 changed files with 32 additions and 36 deletions

View file

@ -7,8 +7,6 @@
#include <stdint.h>
#include <wayland-util.h>
struct lab_img_cache;
enum lab_img_type {
LAB_IMG_PNG,
LAB_IMG_SVG,
@ -18,7 +16,7 @@ enum lab_img_type {
struct lab_img {
struct wl_array modifiers; /* lab_img_modifier_func_t */
struct lab_img_cache *cache;
struct lab_img_data *data;
};
struct lab_img *lab_img_load(enum lab_img_type type, const char *path,