Synopsis
(macro) MDA_PTR mda_GetOrigDbptr(long option, void *ent)
Purpose
Returns original database pointer for an entity.
Description
The original (or predecessor) database pointer for the entity ent will be returned. If the returned value is the same as that returned by mda_GetDbptr for ent then ent is an original entity otherwise the value returned by this function is the database pointer of the entity which ent was created from (possibly through more than one iteration). See the mda_intro man page for more information about entity predecessors.
Input
option
Options (not used)
ent
Entity whose original database pointer is to be returned
Return
Original database pointer for ent