You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/imlib2_loaders/files/imlib2_loaders-1.7.1-loader...

37 lines
1.6 KiB

diff '--color=auto' -Naurd imlib2_loaders-1.7.1.orig/src/modules/loaders/loader_common.h imlib2_loaders-1.7.1/src/modules/loaders/loader_common.h
--- imlib2_loaders-1.7.1.orig/src/modules/loaders/loader_common.h 2020-05-21 06:49:09.000000000 +0300
+++ imlib2_loaders-1.7.1/src/modules/loaders/loader_common.h 2021-01-16 15:11:53.229675567 +0300
@@ -4,6 +4,7 @@
#include "config.h"
#include "common.h"
#include "image.h"
+#include "loaders.h"
__EXPORT__ char load(ImlibImage * im, ImlibProgressFunction progress,
char progress_granularity, char load_data);
diff '--color=auto' -Naurd imlib2_loaders-1.7.1.orig/src/modules/loaders/loaders.h imlib2_loaders-1.7.1/src/modules/loaders/loaders.h
--- imlib2_loaders-1.7.1.orig/src/modules/loaders/loaders.h 1970-01-01 03:00:00.000000000 +0300
+++ imlib2_loaders-1.7.1/src/modules/loaders/loaders.h 2020-07-28 21:13:51.000000000 +0300
@@ -0,0 +1,21 @@
+#ifndef __LOADERS
+#define __LOADERS 1
+
+#include "image.h"
+
+struct _imlibloader {
+ char *file;
+ int num_formats;
+ char **formats;
+ void *handle;
+ char (*load)(ImlibImage * im,
+ ImlibProgressFunction progress,
+ char progress_granularity, char load_data);
+ char (*save)(ImlibImage * im,
+ ImlibProgressFunction progress,
+ char progress_granularity);
+ ImlibLoader *next;
+ int (*load2)(ImlibImage * im, int load_data);
+};
+
+#endif /* __LOADERS */