BBTree.lookupExtended

Looks up a key in the GTree, returning the original key and the associated value and a gboolean which is TRUE if the key was found. This is useful if you need to free the memory allocated for the original key, for example before calling g_tree_remove().

class BBTree
int
lookupExtended
(
void* lookupKey
,
void** origKey
,
void** value
)

Parameters

lookupKey void*

the key to look up.

origKey void**

returns the original key.

value void**

returns the value associated with the key.

Return Value

Type: int

TRUE if the key was found in the GTree.

Meta