emile: use an enum for level instead of just an int.

This commit is contained in:
Cedric BAIL 2015-03-17 08:50:32 +01:00
parent 49f017926a
commit 274be9ac24
1 changed files with 4 additions and 1 deletions

View File

@ -31,10 +31,13 @@ emile_compress_buffer_size(const Eina_Binbuf *data, Emile_Compressor_Type t)
}
EAPI Eina_Binbuf *
emile_binbuf_compress(const Eina_Binbuf *data, Emile_Compressor_Type t, int level)
emile_binbuf_compress(const Eina_Binbuf *data,
Emile_Compressor_Type t,
Emile_Compressor_Level l)
{
void *compact;
int length;
int level = l;
Eina_Bool ok = EINA_FALSE;
length = emile_compress_buffer_size(data, t);