Synopsis
(macro) int mda_GetPtrModel(MDA_PTR db_ptr)
Purpose
Extract the model number from a database pointer.
Description
The model number is extracted from the database pointer and returned. If the database pointer is null (i.e. MDA_NULL_PTR), the model number MDA_NULL_MODEL will be returned.
Input
db_ptr
The database pointer to extract the model number from
Return
The model number the pointer is defined in or MDA_NULL_MODEL