48 lines
1.7 KiB
C
48 lines
1.7 KiB
C
/* (c) Ubi Studios 1996-97*/
|
|
/* See Vincent Greco for any comment or question*/
|
|
|
|
#ifndef __HIEDEF_H__
|
|
#define __HIEDEF_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* For DLL using these function :*/
|
|
/*#include "cpa_expt.h"*/
|
|
|
|
/*----------------------------------------------------------*/
|
|
#define HIE_C_lCounterNotValid -1
|
|
|
|
|
|
#define HIE_C_InvalidSuperObject LST2_C_DynamicInvalid
|
|
|
|
#ifndef HIE_M_ForEachChildOf
|
|
#define HIE_M_ForEachChildOf(_hSprObj,_hChild,_i) LST2_M_DynamicForEachElementOf(_hSprObj,_hChild,_i)
|
|
#endif /* for specific declaration of the macro*/
|
|
|
|
#define HIE_M_vIsolate(_hSprObj) LST2_M_DynamicIsolate(_hSprObj)
|
|
#define HIE_M_vAddTail(_hNewFather, _hSprObj) LST2_M_DynamicAddTail(_hNewFather, _hSprObj)
|
|
#define HIE_M_vAddHead(_hNewFather, _hSprObj) LST2_M_DynamicAddHead(_hNewFather, _hSprObj)
|
|
#define HIE_M_vInsertBetween(_hSprObj, _hNewPrevBrother, _hNewNextBrother) LST2_M_DynamicInsertBetween(_hSprObj, _hNewPrevBrother, _hNewNextBrother)
|
|
#define HIE_M_hNextChild(_hBrother) LST2_M_DynamicGetNextElement(_hBrother)
|
|
#define HIE_M_hFirstChild(_hParent) LST2_M_DynamicGetFirstElement(_hParent)
|
|
#define HIE_M_hPrevChild(_hBrother) LST2_M_DynamicGetPrevElement(_hBrother)
|
|
#define HIE_M_hLastChild(_hParent) LST2_M_DynamicGetLastElement(_hParent)
|
|
#define HIE_M_hGetSuperObjectFather(_hSprObj) LST2_M_DynamicGetFather(_hSprObj)
|
|
#define HIE_M_lGetNumberOfChildren(_hSprObj) LST2_M_DynamicGetNumberOfElements(_hSprObj)
|
|
|
|
|
|
|
|
#define HIE_M_p_stGetSuperObject(_hSprObj) (_hSprObj)
|
|
#define HIE_M_xGetSuperObjectMember(_hSprObj,_member) ((_hSprObj)->_member)
|
|
#define HIE_M_vSetSuperObjectMember(_hSprObj,_member,_value) {(_hSprObj)->_member=(_value);}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}/* extern "C" */
|
|
#endif
|
|
|
|
#endif /* __HIEDEF_H__ */
|