mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00:00
Fixed comment (forgot to fix it in the last commit)
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40504
This commit is contained in:
parent
bf7ebed87d
commit
b1fd9941ba
@ -989,11 +989,7 @@ SourceHook::CallClass<T> *SH_GET_CALLCLASS(T *p)
|
|||||||
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
||||||
};
|
};
|
||||||
|
|
||||||
// :FIXME:
|
// GetPassInfo -> easier access. __SH_GPI generates a SourceHook::PassInfo instance.
|
||||||
// sizeof on references returns the size of the datatype, NOT the pointer size or something
|
|
||||||
// -> one should probably flag references in __SourceHook_ParamSizes_* !
|
|
||||||
// or simply assume that their size is sizeof(void*)=SH_PTRSIZE... could be doable through a simple template
|
|
||||||
|
|
||||||
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -989,11 +989,7 @@ SourceHook::CallClass<T> *SH_GET_CALLCLASS(T *p)
|
|||||||
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
||||||
};
|
};
|
||||||
|
|
||||||
// :FIXME:
|
// GetPassInfo -> easier access. __SH_GPI generates a SourceHook::PassInfo instance.
|
||||||
// sizeof on references returns the size of the datatype, NOT the pointer size or something
|
|
||||||
// -> one should probably flag references in __SourceHook_ParamSizes_* !
|
|
||||||
// or simply assume that their size is sizeof(void*)=SH_PTRSIZE... could be doable through a simple template
|
|
||||||
|
|
||||||
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
||||||
|
|
||||||
@[$1,0,$a:
|
@[$1,0,$a:
|
||||||
|
|||||||
@ -989,11 +989,7 @@ SourceHook::CallClass<T> *SH_GET_CALLCLASS(T *p)
|
|||||||
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
|
||||||
};
|
};
|
||||||
|
|
||||||
// :FIXME:
|
// GetPassInfo -> easier access. __SH_GPI generates a SourceHook::PassInfo instance.
|
||||||
// sizeof on references returns the size of the datatype, NOT the pointer size or something
|
|
||||||
// -> one should probably flag references in __SourceHook_ParamSizes_* !
|
|
||||||
// or simply assume that their size is sizeof(void*)=SH_PTRSIZE... could be doable through a simple template
|
|
||||||
|
|
||||||
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
#define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user