diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-15 05:54:52 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-15 05:54:52 -0700 |
commit | 61ba30d716dab670a5f2ed0ee2f6650375b2058d (patch) | |
tree | 711db9359015de260071088ef027b020cd95d4b3 /include/member.h | |
parent | b2042dbd58c043ab49e9b0dbb51bf8516fe8cea8 (diff) |
Calling custom member methods is now functional
Diffstat (limited to 'include/member.h')
-rw-r--r-- | include/member.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/member.h b/include/member.h index 0a7eb29..bc96e52 100644 --- a/include/member.h +++ b/include/member.h @@ -106,14 +106,7 @@ public: * @param pub Is this a public method (otherwise it is protected) * @param method The method to add */ - Member(const char *name, bool pub, method_callback_0 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_1 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_2 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_3 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_4 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_5 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_6 method, const std::initializer_list<Argument> &arguments = {}); - Member(const char *name, bool pub, method_callback_7 method, const std::initializer_list<Argument> &arguments = {}); + Member(const char *name, bool pub, const _Method &method, const std::initializer_list<Argument> &arguments = {}); /** * Copy constructor |