BBTree.lookupExtended

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

class BBTree
bool
lookupExtended
(
void* lookupKey
,
out void* origKey
,
out 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: bool

%TRUE if the key was found in the #GTree

Meta