NEWS APPS DOCS ABOUT | ||||
Autodocs Libraries: exec.library AVL_AddNode AVL_FindFirstNode AVL_FindLastNode AVL_FindNextNodeByAddress AVL_FindNextNodeByKey AVL_FindNode AVL_FindPrevNodeByAddress AVL_FindPrevNodeByKey AVL_RemNodeByAddress AVL_RemNodeByKey AbortIO AddDevice AddHead AddIntServer AddLibrary AddMemHandler AddMemList AddPort AddResource AddSemaphore AddTail AddTask Alert AllocAbs AllocEntry AllocMem AllocPooled AllocSignal AllocTrap AllocVec Allocate AttemptSemaphore AttemptSemaphoreShared AvailMem CacheClearE CacheClearU CacheControl CachePostDMA CachePreDMA Cause CheckIO CloseDevice CloseLibrary ColdReboot CopyMem CopyMemQuick CreateIORequest CreateMsgPort CreatePool Deallocate Debug DeleteIORequest DeleteMsgPort DeletePool Disable DoIO Enable Enqueue FindName FindPort FindResident FindSemaphore FindTask Forbid FreeEntry FreeMem FreePooled FreeSignal FreeTrap FreeVec GetCC GetMsg InitCode InitResident InitSemaphore InitStruct Insert MakeFunctions MakeLibrary ObtainQuickVector ObtainSemaphore ObtainSemaphoreList ObtainSemaphoreShared OldOpenLibrary OpenDevice OpenLibrary OpenResource Permit Procure PutMsg RawDoFmt ReleaseSemaphore ReleaseSemaphoreList RemDevice RemHead RemIntServer RemLibrary RemMemHandler RemPort RemResource RemSemaphore RemTail RemTask Remove ReplyMsg SendIO SetExcept SetFunction SetIntVector SetSR SetSignal SetTaskPri Signal StackSwap SumKickData SumLibrary SuperState Supervisor TypeOfMem UserState Vacate Wait WaitIO WaitPort Include GuruMeditation | NAMEAVL_AddNode -- Add node to the tree (V45) SYNOPSISresult = AVL_AddNode( root, node, func ) FUNCTIONThe function will add the given node to the AVL tree in the correct INPUTSroot - Address of(!) the root pointer(!) of the AVL tree. RESULTIf the node could be added, NULL is returned. NOTESThere are a few things to remember about AVL trees. First, they EXAMPLEstruct Element BUGSSEE ALSOAVL_FindLastNode(), AVL_FindFirstNode(), AVL_RemNodeByKey(), AVL_RemNodeByAddress(), AVL_FindNextNodeByKey(), AVL_FindNextNodeByAddress()Comments |
$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se |