forked from old/legacy-imlib2
move imlib_hash_size up in the code so we dont have to declare a prototype for internal usage
SVN revision: 20373
This commit is contained in:
parent
2d22b66a4f
commit
d149aa86d7
|
@ -345,6 +345,14 @@ imlib_hash_find(Imlib_Hash * hash, const char *key)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
imlib_hash_size(Imlib_Hash * hash)
|
||||
{
|
||||
if (!hash)
|
||||
return 0;
|
||||
return 256;
|
||||
}
|
||||
|
||||
void
|
||||
imlib_hash_free(Imlib_Hash * hash)
|
||||
{
|
||||
|
@ -397,14 +405,6 @@ imlib_hash_foreach(Imlib_Hash * hash, int (*func) (Imlib_Hash * hash,
|
|||
}
|
||||
}
|
||||
|
||||
int
|
||||
imlib_hash_size(Imlib_Hash * hash)
|
||||
{
|
||||
if (!hash)
|
||||
return 0;
|
||||
return 256;
|
||||
}
|
||||
|
||||
int
|
||||
imlib_list_alloc_error(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue