Uses the new tommy_arrayof type.

This commit is contained in:
Andrea Mazzoleni 2013-06-23 21:49:36 +02:00
parent 1285298300
commit ef53cd4086
8 changed files with 226 additions and 13 deletions

View file

@ -73,6 +73,6 @@ void tommy_array_grow(tommy_array* array, unsigned size)
tommy_size_t tommy_array_memory_usage(tommy_array* array)
{
return array->bucket_max * (tommy_size_t)sizeof(array->bucket[0][0]);
return array->bucket_max * (tommy_size_t)sizeof(void*);
}