Changeset c2a9854 in thomson for elec/CrO2/software/iupplusplus.h
- Timestamp:
- Feb 4, 2012, 7:43:03 PM (12 years ago)
- Branches:
- main
- Children:
- 53c4be3
- Parents:
- 192e299
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
elec/CrO2/software/iupplusplus.h
r192e299 rc2a9854 7 7 #include <iup.h> 8 8 9 template<class Handler, typename ... Args> class Callback9 template<class Handler, typename ret = int, typename... Args> class Callback 10 10 { 11 typedef int(Handler::*T)(Args... args);11 typedef ret(Handler::*T)(Args... args); 12 12 13 13 public: … … 27 27 } 28 28 29 static int call(Ihandle* that, Args... args)29 static ret call(Ihandle* that, Args... args) 30 30 { 31 31 Callback* call = (Callback*)IupGetAttribute(that, "LCALLBACK");
Note:
See TracChangeset
for help on using the changeset viewer.