ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/callback.h
(Generate patch)

Comparing rxvt-unicode/src/callback.h (file contents):
Revision 1.10 by root, Tue Dec 4 14:50:40 2007 UTC vs.
Revision 1.11 by root, Tue Dec 4 16:57:54 2007 UTC

29#define CALLBACK_H_VERSION 3 29#define CALLBACK_H_VERSION 3
30 30
31template<typename signature> 31template<typename signature>
32struct callback; 32struct callback;
33 33
34#define callback_set(callback,obj,klass,method) callback.set<klass, &klass::method> (obj)
35
36template<class R> 34template<class R>
37struct callback<R ()> 35struct callback<R ()>
38{ 36{
39 typedef R (*ptr_type)(void *self); 37 typedef R (*ptr_type)(void *self);
40 38

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines