Synopsis

(macro) size_t osm_GetDataSize(OSM_STACK *stack)

Purpose

Get the data size of an object stack.

Description

This function will return the size (in bytes) of the objects stored in an object stack. This will be the same as the value specified to osm_CreateStack for the element size parameter.

Input

stack

Stack pointer

Return

Data size