diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-01-02 13:28:42 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-01-03 09:41:41 +0100 |
commit | 9d8929c12cb52809e03ba7dda2657a91124ff276 (patch) | |
tree | 851d5a9b74b76f4864376f17044ec3ccacc5c969 | |
parent | 3c7a1f5c28c23e5d0a933db19993d9c71fe6a3a2 (diff) |
Change-Id: Icdee4029f11dcb6c0f75e945e0b411ea63654afe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | include/afb/afb-binding.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-binding.hpp b/include/afb/afb-binding.hpp index 6e7d4c2e..5942f76c 100644 --- a/include/afb/afb-binding.hpp +++ b/include/afb/afb-binding.hpp @@ -585,7 +585,7 @@ constexpr afb_verb_v2 verbend() return r; } -const afb_binding_v2 binding(const char *name, const struct afb_verb_v2 *verbs, const char *info = nullptr, int (*init)() = nullptr, const char *specification = nullptr, void (*onevent)(const char*, struct json_object*) = nullptr, bool noconcurrency = false, int (*preinit)() = nullptr) +constexpr afb_binding_v2 binding(const char *name, const struct afb_verb_v2 *verbs, const char *info = nullptr, int (*init)() = nullptr, const char *specification = nullptr, void (*onevent)(const char*, struct json_object*) = nullptr, bool noconcurrency = false, int (*preinit)() = nullptr) { afb_binding_v2 r = { 0, 0, 0, 0, 0, 0, 0, 0 }; r.api = name; |