MGE General C Library - Full Internal Documentation v1.8.4
Library of general C functions.
|
Non-public header file for binary search trees in the libmgec shared library. More...
Go to the source code of this file.
Data Structures | |
struct | bstobjcoord |
Node coordinates for test tracing. More... | |
Functions | |
struct bstobjcoord * | find_next_bst_node_trace (const struct bstree *tree, struct bstobjcoord *searchobj) |
Find and return the next object and it's coordinates in the bst 'tree'. | |
Non-public header file for binary search trees in the libmgec shared library.
No distribution required.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
struct bstobjcoord * find_next_bst_node_trace | ( | const struct bstree * | tree, |
struct bstobjcoord * | searchobj | ||
) |
Find and return the next object and it's coordinates in the bst 'tree'.
This is only really useful for testing purposes where this function can be used to verify the tree coordinates of nodes. On error mge_errno will be set.
tree | The bst to search. |
searchobj | The object to find. It does not need to be a fully populated object. It only needs enough information to support the comparison function. E.g. a key. |