forked from old/legacy-imlib2
Add a couple of consts
This commit is contained in:
parent
f588650bb6
commit
b059049034
|
@ -100,7 +100,7 @@ ImlibLoader *__imlib_FindBestLoaderForFile(const char *file,
|
|||
ImlibLoader *__imlib_FindBestLoaderForFormat(const char *format,
|
||||
int for_save);
|
||||
ImlibLoader *__imlib_FindBestLoaderForFileFormat(const char *file,
|
||||
char *format,
|
||||
const char *format,
|
||||
int for_save);
|
||||
void __imlib_LoaderSetFormats(ImlibLoader * l,
|
||||
const char *const *fmt,
|
||||
|
@ -155,7 +155,7 @@ void __imlib_DirtyPixmapsForImage(ImlibImage * im);
|
|||
void __imlib_AttachTag(ImlibImage * im, const char *key,
|
||||
int val, void *data,
|
||||
ImlibDataDestructorFunction destructor);
|
||||
ImlibImageTag *__imlib_GetTag(ImlibImage * im, const char *key);
|
||||
ImlibImageTag *__imlib_GetTag(const ImlibImage * im, const char *key);
|
||||
ImlibImageTag *__imlib_RemoveTag(ImlibImage * im, const char *key);
|
||||
void __imlib_FreeTag(ImlibImage * im, ImlibImageTag * t);
|
||||
void __imlib_FreeAllTags(ImlibImage * im);
|
||||
|
|
|
@ -34,7 +34,7 @@ __imlib_AttachTag(ImlibImage * im, const char *key, int val, void *data,
|
|||
|
||||
/* look up a tage by its key on the image it was attached to */
|
||||
__EXPORT__ ImlibImageTag *
|
||||
__imlib_GetTag(ImlibImage * im, const char *key)
|
||||
__imlib_GetTag(const ImlibImage * im, const char *key)
|
||||
{
|
||||
ImlibImageTag *t;
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ __imlib_FindBestLoaderForFile(const char *file, int for_save)
|
|||
}
|
||||
|
||||
ImlibLoader *
|
||||
__imlib_FindBestLoaderForFileFormat(const char *file, char *format,
|
||||
__imlib_FindBestLoaderForFileFormat(const char *file, const char *format,
|
||||
int for_save)
|
||||
{
|
||||
/* if the format is provided ("png" "jpg" etc.) use that */
|
||||
|
|
Loading…
Reference in New Issue