View Single Post
commonbullet
Veteran Member
Join Date: Oct 2005
Old 02-24-2007 , 18:51   Re: Module: Vdf trees
Reply With Quote #12

I guess I'll include this form:
Code:
vdf_is_first_node(node);
vdf_is_last_node(node);
actually, they could be easily replaced with these existent functions
Code:
!vdf_get_previous_node(node) // if true that's first node
!vdf_get_next_node(node) // if true that's the last node
but I guess the former sounds clearer.

And I'll include another one to way to count nodes in a branch. Maybe you can help me to find a better name to that.
Code:
vdf_count_branch_nodes(node)

Last edited by commonbullet; 02-24-2007 at 18:56.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet