Loader loading: Move __imlib_GetLoaderList()

Paving the way for other changes.
This commit is contained in:
Kim Woelders 2021-10-30 08:48:01 +02:00
parent b45ea50c4b
commit a0b32e292b
1 changed files with 6 additions and 6 deletions

View File

@ -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)
{