add util_util_addrChange

This commit is contained in:
ehouse 2005-04-03 16:57:01 +00:00
parent 961ca6e256
commit de4af7c8ce

View file

@ -133,7 +133,8 @@ typedef struct UtilVtable {
XP_Bool (*m_util_warnIllegalWord)( XW_UtilCtxt* uc, BadWordInfo* bwi,
XP_U16 turn, XP_Bool turnLost );
#ifdef BEYOND_IR
void (*m_util_addrChange)( XW_UtilCtxt* uc, const CommsAddrRec* aAddr );
void (*m_util_addrChange)( XW_UtilCtxt* uc, const CommsAddrRec* oldAddr,
const CommsAddrRec* newAddr );
#endif
#ifdef XWFEATURE_SEARCHLIMIT
@ -211,8 +212,8 @@ struct XW_UtilCtxt {
(uc)->vtable->m_util_warnIllegalWord((uc),(w),(p),(b))
#ifdef BEYOND_IR
#define util_addrChange( uc, addr ) \
(uc)->vtable->m_util_addrChange((uc), (addr))
#define util_addrChange( uc, addro, addrn ) \
(uc)->vtable->m_util_addrChange((uc), (addro), (addrn))
#endif
#ifdef XWFEATURE_SEARCHLIMIT