X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fq.h;h=f6d597dac3c24bdaa9de992b59c40583e2f7cbeb;hb=b6ebc39257e2814f08a17d8c179c3991c16053ba;hp=585d42094c2d76592710706a4a09dbbc58e0a14f;hpb=580c48fef10df9184cf2728338e89f7db0fef2f5;p=swftools.git diff --git a/lib/q.h b/lib/q.h index 585d420..f6d597d 100644 --- a/lib/q.h +++ b/lib/q.h @@ -135,6 +135,8 @@ typedef struct _trie { char* strdup_n(const char*str, int size); char* allocprintf(const char*str, ...); +float medianf(float*values, int n); + unsigned int crc32_add_byte(unsigned int crc32, unsigned char b); unsigned int crc32_add_string(unsigned int crc32, const char*s); @@ -190,6 +192,7 @@ dictentry_t* dict_get_slot(dict_t*h, const void*key); char dict_contains(dict_t*h, const void*s); void* dict_lookup(dict_t*h, const void*s); char dict_del(dict_t*h, const void*s); +char dict_del2(dict_t*h, const void*key, void*data); dict_t*dict_clone(dict_t*); void dict_foreach_keyvalue(dict_t*h, void (*runFunction)(void*data, const void*key, void*val), void*data);