diff -r 2fa049f36721 -r 7a413a63426f sourcehook/generate/sourcehook.hxx --- a/sourcehook/generate/sourcehook.hxx Sat Nov 17 09:53:58 2007 +0000 +++ b/sourcehook/generate/sourcehook.hxx Sun Nov 18 11:58:07 2007 +0000 @@ -1354,10 +1354,22 @@ } template + OverrideFunctor SetOverrideResult(RetType (Iface::*mfp)(@[$2,1,$1:Param$2, @]...)) + { + return OverrideFunctor(); + } + + template Iface *RecallGetIface(ISourceHook *shptr, RetType (Iface::*mfp)(@[$2,1,$1|, :Param$2@])) { return reinterpret_cast(shptr->GetIfacePtr()); } + + template + Iface *RecallGetIface(ISourceHook *shptr, RetType (Iface::*mfp)(@[$2,1,$1:Param$2, @]...)) + { + return reinterpret_cast(shptr->GetIfacePtr()); + } @] }