diff -r 43098e572d24 -r 59bbed37595c sourcehook/sourcehook.h --- a/sourcehook/sourcehook.h Fri Oct 12 19:17:52 2007 +0000 +++ b/sourcehook/sourcehook.h Fri Oct 12 19:19:17 2007 +0000 @@ -989,11 +989,7 @@ bool IsEqual(ISHDelegate *pOtherDeleg) { return m_Deleg == static_cast(pOtherDeleg)->m_Deleg; } \ }; -// :FIXME: -// 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 - +// GetPassInfo -> easier access. __SH_GPI generates a SourceHook::PassInfo instance. #define __SH_GPI(tt) { sizeof(tt), ::SourceHook::GetPassInfo< tt >::type, ::SourceHook::GetPassInfo< tt >::flags }