Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-12-10 11:53:33 +0000
committerHenrik Rentz-Reichert2012-12-10 11:53:33 +0000
commit6c93ba3eaa74a00f0c5a96831db083364ac5df30 (patch)
tree9f7c7318bf7dfaaf24071d38f672eefdd4cea173 /runtime/org.eclipse.etrice.runtime.c/src/common/modelbase
parent3a0f5695bb0d675cfe7d2fd32a358dec1d79c227 (diff)
downloadorg.eclipse.etrice-6c93ba3eaa74a00f0c5a96831db083364ac5df30.tar.gz
org.eclipse.etrice-6c93ba3eaa74a00f0c5a96831db083364ac5df30.tar.xz
org.eclipse.etrice-6c93ba3eaa74a00f0c5a96831db083364ac5df30.zip
[generator, generator.c, runtime.c] fixed C-generator after C++-generator changes
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/modelbase')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.c2
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.h2
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etPort.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.c b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.c
index b7ae57028..5783e905d 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.c
@@ -12,7 +12,7 @@
#include "modelbase/etActor.h"
-etBool handleSystemEvent(InterfaceItemBase ifitem, int evt, void* generic_data) {
+etBool handleSystemEvent(InterfaceItemBase* ifitem, int evt, void* generic_data) {
/* TODO */
return FALSE;
}
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.h b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.h
index 182a2f912..4791fa991 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etActor.h
@@ -19,6 +19,6 @@
#define NOT_CAUGHT 0
#define EVT_SHIFT 100
-etBool handleSystemEvent(InterfaceItemBase ifitem, int evt, void* generic_data);
+etBool handleSystemEvent(InterfaceItemBase* ifitem, int evt, void* generic_data);
#endif /* _ETACTOR_H_ */
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etPort.h b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etPort.h
index f6fe71c2d..dbeeaa7e0 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etPort.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/modelbase/etPort.h
@@ -50,7 +50,7 @@ typedef struct {
const etReplSubPort* ports;
} etReplPort;
-typedef etPort* InterfaceItemBase;
+typedef etPort InterfaceItemBase;
//void etPort_receive(const etPort* self, const etMessage* msg);
void etPort_sendMessage(const etPort* self, etInt16 evtId, int size, void* data);

Back to the top