summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/builtin.cpp4
-rw-r--r--plugins/gps.c4
2 files changed, 4 insertions, 4 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)
{
diff --git a/plugins/gps.c b/plugins/gps.c
index 2aab040..a4dfdba 100644
--- a/plugins/gps.c
+++ b/plugins/gps.c
@@ -31,10 +31,10 @@
CTLP_LUA_REGISTER("gps");
// Call at initialisation time
-CTLP_ONLOAD(plugin, api) {
+/*CTLP_ONLOAD(plugin, api) {
AFB_NOTICE ("GPS plugin: uid='%s' 'info='%s'", plugin->uid, plugin->info);
return api;
-}
+}*/
CTLP_CAPI (subscribeToLow, source, argsJ, eventJ) {
json_object* subscribeArgsJ = NULL, *responseJ = NULL;