diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-04 17:24:04 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:49 +0100 |
commit | 55e4e3b31f2cbec776eb89c0b780f895fa0f0b86 (patch) | |
tree | 5699221bfede9aebf57e08a53fa84b38fac13e4d /plugins/builtin.cpp | |
parent | 1cf6b5e10983716b4fd222db559fe7161397e285 (diff) |
Disable plugin initialization no more needed
Context is computed before calling action and accessible
through source parameter.
Change-Id: Ia1b2c59b7ad4e4e3f60ff193307201dbc6d388ba
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'plugins/builtin.cpp')
-rw-r--r-- | plugins/builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/builtin.cpp b/plugins/builtin.cpp index 9fa7823..0989935 100644 --- a/plugins/builtin.cpp +++ b/plugins/builtin.cpp @@ -34,7 +34,7 @@ CTLP_LUA_REGISTER("builtin"); static struct signalCBT* pluginCtx = NULL; // Call at initialisation time -CTLP_ONLOAD(plugin, handle) { +/*CTLP_ONLOAD(plugin, handle) { pluginCtx = (struct signalCBT*)calloc (1, sizeof(struct signalCBT)); pluginCtx = (struct signalCBT*)handle; @@ -43,7 +43,7 @@ CTLP_ONLOAD(plugin, handle) { plugin->info); return (void*)pluginCtx; -} +}*/ CTLP_CAPI (defaultOnReceived, source, argsJ, eventJ) { |