Mercurial > molko
diff libmlk-core/core/image.h @ 298:196264679079
misc: remove usage of bool
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Mar 2021 18:49:08 +0100 |
parents | 08ab73b32832 |
children | d01e83210ca2 |
line wrap: on
line diff
--- a/libmlk-core/core/image.h Wed Mar 10 18:49:00 2021 +0100 +++ b/libmlk-core/core/image.h Wed Mar 10 18:49:08 2021 +0100 @@ -19,7 +19,6 @@ #ifndef MOLKO_CORE_IMAGE_H #define MOLKO_CORE_IMAGE_H -#include <stdbool.h> #include <stddef.h> #include "core.h" @@ -28,11 +27,11 @@ CORE_BEGIN_DECLS -bool -image_open(struct texture *tex, const char *path); +int +image_open(struct texture *, const char *); -bool -image_openmem(struct texture *tex, const void *buffer, size_t size); +int +image_openmem(struct texture *, const void *, size_t); CORE_END_DECLS