# Synopsis

(macro) void *eam_AddToAttrStack2(long option, EAM_STACK *stack, void *entity)

# Purpose

Add a level to an entity attribute stack.

# Description

This function will process the attributes of the specified entity and add a level to the specified attribute stack. The DEFAULT attributes on the stack will be inherited.

# Input

## option

Options to be passed to interface attribute manager

## stack

Entity attribute stack pointer

## entity

Entity pointer

# Return

Current attribute pointer or NULL if error