# Synopsis

(macro) void *osm_RemoveObject(long option, OSM_STACK *stack)

# Purpose

Remove an object from an object stack.

# Description

This function will remove the current object on the specified stack and return a pointer to the next object. The remaining objects will move up in the stack.

# Input

## option

Options (not used)

## stack

Stack pointer

# Return

Object pointer of NULL if error