diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-20 20:53:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-20 20:53:04 +0000 |
commit | f67620f774935e2c1aa8f0dd814fc7d915fb5ab4 (patch) | |
tree | 31315575eec4d1216ee8d0f4083c43ded6959673 /include/caller.h | |
parent | d7552b854d466ab443c232de499991c9e72f70a3 (diff) |
more comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10566 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/caller.h')
-rw-r--r-- | include/caller.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/caller.h b/include/caller.h index 7c6565879..77fa5de40 100644 --- a/include/caller.h +++ b/include/caller.h @@ -14,7 +14,7 @@ #ifndef __CALLER__H__ #define __CALLER__H__ -/* The templates below can be auto generated by tools/create_templates.pl. +/** The templates below can be auto generated by tools/create_templates.pl. * They are used to represent a functor with a given number of parameters and * a specific return type. To prevent passing the wrong number of parameters * and have the compiler detect this error at build-time, each class is numbered @@ -47,7 +47,6 @@ * this until you do, as if you get this wrong, this can generate some pretty long * winded and confusing error messages at compile time. */ - template <typename ReturnType> class CoreExport HandlerBase0 { public: @@ -253,7 +252,6 @@ template <typename ReturnType, typename Param1, typename Param2, typename Param3 * The following parameters are the parameter types for Call(), and again, the macro is numbered to match the number of * parameters, to prevent mistakes. */ - #define DEFINE_HANDLER0(NAME, RETURN) \ class CoreExport NAME : public HandlerBase0<RETURN> { InspIRCd* Server; public: NAME(InspIRCd* Srv) : Server(Srv) { } virtual ~NAME() { } virtual RETURN Call(); } |