Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.

SVN revision: 50600
This commit is contained in:
Tom Hacohen 2010-07-28 17:53:10 +00:00
parent f337f66880
commit 713354b764
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*

View File

@ -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;