Synopsis

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

Purpose

Get the current object on an object stack.

Description

This function will return the pointer to the current object on the specified object stack. This operation does not affect the objects on the stack.

Input

option

Options (not used)

stack

Stack pointer

Return

Object pointer or NULL if error