ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/callback.pl
(Generate patch)

Comparing gvpe/src/callback.pl (file contents):
Revision 1.6 by pcg, Tue Nov 29 19:21:09 2005 UTC vs.
Revision 1.7 by pcg, Tue Dec 27 16:36:16 2005 UTC

53 }; 53 };
54 template<class O1, class O2> 54 template<class O1, class O2>
55 struct proxy : proxy_base { 55 struct proxy : proxy_base {
56 virtual R call (void *obj, R (object::*meth)($TYPE)$_TYPEARG) 56 virtual R call (void *obj, R (object::*meth)($TYPE)$_TYPEARG)
57 { 57 {
58 ((reinterpret_cast<O1 *>(obj)) ->* (reinterpret_cast<R (O2::*)($TYPE)>(meth))) 58 return (R)((reinterpret_cast<O1 *>(obj)) ->* (reinterpret_cast<R (O2::*)($TYPE)>(meth)))
59 ($ARG); 59 ($ARG);
60 } 60 }
61 }; 61 };
62 62
63 proxy_base *prxy; 63 proxy_base *prxy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines