Loader loading: Move __imlib_GetLoaderList()
Paving the way for other changes.
This commit is contained in:
parent
b45ea50c4b
commit
a0b32e292b
|
@ -15,12 +15,6 @@
|
|||
|
||||
static ImlibLoader *loaders = NULL;
|
||||
|
||||
ImlibLoader **
|
||||
__imlib_GetLoaderList(void)
|
||||
{
|
||||
return &loaders;
|
||||
}
|
||||
|
||||
/* try dlopen()ing the file if we succeed finish filling out the malloced */
|
||||
/* loader struct and return it */
|
||||
static ImlibLoader *
|
||||
|
@ -121,6 +115,12 @@ __imlib_LoadAllLoaders(void)
|
|||
free(list);
|
||||
}
|
||||
|
||||
ImlibLoader **
|
||||
__imlib_GetLoaderList(void)
|
||||
{
|
||||
return &loaders;
|
||||
}
|
||||
|
||||
__EXPORT__ ImlibLoader *
|
||||
__imlib_FindBestLoaderForFormat(const char *format, int for_save)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue