# Synopsis

(macro) OSM_STACK *osm_CreateStack(long option, size_t objectsize, int blocksize, void *userdata)

# Purpose

Create an object stack.

# Description

This function will create an object stack of the specified objectsize and blocksize. The blocksize is used to buffer the transactions performed on the stack.

# Input

## option

Options (not used)

## objectsize

Number of bytes in object

## blocksize

Number of objects in block

## userdata

User pointer to store with stack

# Return

Stack pointer or NULL if error