[brlcad-commits] SF.net SVN: brlcad:[58982] brlcad/trunk/include/bu.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <tbr...@us...> - 2013-12-18 11:47:52
|
Revision: 58982 http://sourceforge.net/p/brlcad/code/58982 Author: tbrowder2 Date: 2013-12-18 11:47:49 +0000 (Wed, 18 Dec 2013) Log Message: ----------- correct comment; remove duplicate comment Modified Paths: -------------- brlcad/trunk/include/bu.h Modified: brlcad/trunk/include/bu.h =================================================================== --- brlcad/trunk/include/bu.h 2013-12-18 02:16:29 UTC (rev 58981) +++ brlcad/trunk/include/bu.h 2013-12-18 11:47:49 UTC (rev 58982) @@ -4825,11 +4825,16 @@ * void (*visit)(void) * * When used as a function the pointer should be cast back to one of its real - * signatures: + * signatures depending on what it is operating on (node or data): * - * void (*visit)((bu_rb_node*, int) - * void (*visit)((bu_rb_node*, int) + * node: * + * void (*visit)((struct bu_rb_node *, int) + * + * data: + * + * void (*visit)((void *, int) + * * Use the macros below to ensure accurate casting. See * libbu/rb_diag.c and libbu/rb_walk.c for examples of their use. * @@ -4845,13 +4850,6 @@ #define BU_RB_WALK_FUNC_DATA_DECL(_func) void (*_func)(void *, int) #define BU_RB_WALK_FUNC_FUNC_DECL(_func) void (*_func)(struct bu_rb_node *, int, void (*)(void), int) -/** - * This function has four parameters: the tree to traverse, the order - * on which to do the walking, the function to apply to each node, and - * the type of traversal (preorder, inorder, or postorder). - */ - - /** @} */ /** @addtogroup thread */ /** @ingroup parallel */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |