mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
reccmp: template compare annotations (#88)
* reccmp: Add ability to compare template instantiations * Add example of template instantiation comparison. * merge * Add template compare annotations for MxList instances --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -25,4 +25,13 @@ private:
|
||||
|
||||
typedef MxListCursorChild<MxDSAction> MxDSActionListCursor;
|
||||
|
||||
// OFFSET: LEGO1 0x100c9d20 TEMPLATE
|
||||
// MxListParent<MxDSAction>::Destroy
|
||||
|
||||
// OFFSET: LEGO1 0x100c9cd0 TEMPLATE
|
||||
// MxListParent<MxDSAction>::~MxListParent<MxDSAction>
|
||||
|
||||
// OFFSET: LEGO1 0x100c9d30 TEMPLATE
|
||||
// MxList<MxDSAction>::~MxList<MxDSAction>
|
||||
|
||||
#endif // MXDSACTIONLIST_H
|
||||
|
@@ -31,15 +31,11 @@ public:
|
||||
m_count = 0;
|
||||
m_customDestructor = Destroy;
|
||||
}
|
||||
// OFFSET: LEGO1 0x1001cdd0
|
||||
|
||||
virtual ~MxListParent() {}
|
||||
|
||||
// OFFSET: LEGO1 0x1001cd30
|
||||
static void Destroy(T *) {};
|
||||
|
||||
// OFFSET: LEGO1 0x1001cd20
|
||||
virtual MxS8 Compare(T *, T *) = 0;
|
||||
|
||||
static void Destroy(T *) {};
|
||||
protected:
|
||||
MxU32 m_count; // +0x8
|
||||
void (*m_customDestructor)(T *); // +0xc
|
||||
@@ -114,7 +110,6 @@ public:
|
||||
};
|
||||
|
||||
template <class T>
|
||||
// OFFSET: LEGO1 0x1001ce20
|
||||
MxList<T>::~MxList()
|
||||
{
|
||||
DeleteAll();
|
||||
|
@@ -182,4 +182,4 @@ MxResult MxNotificationManager::Send(MxCore *p_listener, MxParam *p_param)
|
||||
}
|
||||
|
||||
return FAILURE;
|
||||
}
|
||||
}
|
@@ -26,4 +26,13 @@ public:
|
||||
|
||||
typedef MxListCursorChildChild<MxPresenter> MxPresenterListCursor;
|
||||
|
||||
// OFFSET: LEGO1 0x1001cd30 TEMPLATE
|
||||
// MxListParent<MxPresenter>::Destroy
|
||||
|
||||
// OFFSET: LEGO1 0x1001cdd0 TEMPLATE
|
||||
// MxListParent<MxPresenter>::~MxListParent<MxPresenter>
|
||||
|
||||
// OFFSET: LEGO1 0x1001ce20 TEMPLATE
|
||||
// MxList<MxPresenter>::~MxList<MxPresenter>
|
||||
|
||||
#endif // MXPRESENTERLIST_H
|
||||
|
Reference in New Issue
Block a user