Aha.
Nem egy script van amiben ilyet találni, pl:
y_commands:
static stock Command_RemoveFromBintree(func)
{
if (!Command_IsSorted()) return;
// This function has to find the right index in the binary tree, as that\'s
// not in the same order at all.
new
leaf,
hash = Command_PackHash(Command_Name(func));
// Find where in the binary tree this is referenced from.
while (Bintree_FindValue(YSI_g_sSearchTree, hash, _, leaf) != BINTREE_NOT_FOUND)
{
if (YSI_g_sSearchTree[leaf][E_BINTREE_TREE_POINTER] == func)
{
P:2(\"Command_RemoveFromBintree: Delete branch\");
Bintree_Delete(YSI_g_sSearchTree, leaf, YSI_g_sCommandCount);
return;
}
}
}