Synopsis

PDX_MSGT mda_AddToEntityList(MDA_ENTITY_LIST *list, int thread, MDA_PTR db_ptr)

Purpose

Add an entity to an entity list.

Description

The entity is added to the specified thread of the entity list. Note that thread numbers start at 0 so the highest valid number for thread is the number threads in list minus one. The entity must be defined in the same model as list was allocated in.

Input

list

Entity list to add the specified entity to

thread

The thread within list to add entity to

db_ptr

The entity to be added

Return

MDA error code