forked from enlightenment/efl
Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.
SVN revision: 50600
This commit is contained in:
parent
f337f66880
commit
713354b764
|
@ -91,7 +91,7 @@ eina_binshare_shutdown(void)
|
|||
* throughout your program.
|
||||
*
|
||||
* This is a method to reduce the number of duplicated objects kept in
|
||||
* memory, or just add refcounting to them.
|
||||
* memory.
|
||||
*
|
||||
* For more information, you can look at the @ref tutorial_binshare_page.
|
||||
*
|
||||
|
|
|
@ -575,7 +575,7 @@ eina_iterator_array_check(const Eina_Rbtree *rbtree __UNUSED__,
|
|||
for (node = head->head; node; node = node->next)
|
||||
{
|
||||
printf("DDD: %5i %5i ", node->length, node->references);
|
||||
printf("'%s'\n", ((char *)node) + sizeof(Eina_Share_Common_Node));
|
||||
printf("'%.*s'\n", node->length, ((char *)node) + sizeof(Eina_Share_Common_Node));
|
||||
fdata->used += sizeof(Eina_Share_Common_Node);
|
||||
fdata->used += node->length;
|
||||
fdata->saved += (node->references - 1) * node->length;
|
||||
|
|
Loading…
Reference in New Issue