blob: 9d0dc71df170c51eeaf2ccca1734cf9c656a06c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef __LOADER_COMMON_H
#define __LOADER_COMMON_H 1
#include "config.h"
#include "common.h"
#include "debug.h"
#include "image.h"
__EXPORT__ char load(ImlibImage * im, ImlibProgressFunction progress,
char progress_granularity, char load_data);
__EXPORT__ int load2(ImlibImage * im, int load_data);
__EXPORT__ char save(ImlibImage * im, ImlibProgressFunction progress,
char progress_granularity);
__EXPORT__ void formats(ImlibLoader * l);
#define QUIT_WITH_RC(_err) { rc = _err; goto quit; }
#define QUITx_WITH_RC(_err, _lbl) { rc = _err; goto _lbl; }
#endif /* __LOADER_COMMON_H */
|