1.1 --- a/sourcehook/sourcehook.h Fri Oct 12 19:17:52 2007 +0000
1.2 +++ b/sourcehook/sourcehook.h Fri Oct 12 19:19:17 2007 +0000
1.3 @@ -989,11 +989,7 @@
1.4 bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast<CMyDelegateImpl*>(pOtherDeleg)->m_Deleg; } \
1.5 };
1.6
1.7 -// :FIXME:
1.8 -// sizeof on references returns the size of the datatype, NOT the pointer size or something
1.9 -// -> one should probably flag references in __SourceHook_ParamSizes_* !
1.10 -// or simply assume that their size is sizeof(void*)=SH_PTRSIZE... could be doable through a simple template
1.11 -
1.12 +// GetPassInfo -> easier access. __SH_GPI generates a SourceHook::PassInfo instance.
1.13 #define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }
1.14
1.15