# Synopsis

void *otm_AddObject(long option, OTM_TREE *tree, void *object)

# Purpose

Add an object to an object tree.

# Description

This function will add the specified object to the specified tree. The object will be inserted into the tree based on the compare function defined in the tree.

# Input

## option

Options (not used)

## tree

Tree pointer

## object

Object pointer

# Return

Object pointer in tree or NULL if error