Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-01-30 09:26:16 -0500
committerThomas Schuetz2012-01-30 09:26:16 -0500
commit17c0786b480e757f538d5e334e6e5c93f6751a4a (patch)
treeb80c5a7beb1dd8a283c79933243d5b09fb7012cf /examples/org.eclipse.etrice.generator.c.reference
parent6a8bbc3a6d2ef1683c2e0e5fff22be4e74b6314d (diff)
downloadorg.eclipse.etrice-17c0786b480e757f538d5e334e6e5c93f6751a4a.tar.gz
org.eclipse.etrice-17c0786b480e757f538d5e334e6e5c93f6751a4a.tar.xz
org.eclipse.etrice-17c0786b480e757f538d5e334e6e5c93f6751a4a.zip
[generator.c] added Prototype for etPort_receive
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference')
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.h12
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/test.h4
2 files changed, 6 insertions, 10 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.h
index df506543c..937c181f6 100644
--- a/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.h
+++ b/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.h
@@ -25,17 +25,17 @@ enum {
/*--------------------- port classes */
-typedef etPort CommunicationProtocolPort;
+typedef struct etPort CommunicationProtocolPort;
-void CommunicationProtocolPort_MyOperation1(CommunicationProtocolPort* self, int a, int b)
-int CommunicationProtocolPort_MyOperation2(CommunicationProtocolPort* self)
+void CommunicationProtocolPort_MyOperation1(CommunicationProtocolPort* self, int a, int b);
+int CommunicationProtocolPort_MyOperation2(CommunicationProtocolPort* self);
-typedef etPort CommunicationProtocolConjPort;
+typedef struct etPort CommunicationProtocolConjPort;
-void CommunicationProtocolConjPort_MyOperation1(CommunicationProtocolConjPort* self, int a, int b)
-int CommunicationProtocolConjPort_MyOperation2(CommunicationProtocolConjPort* self)
+void CommunicationProtocolConjPort_MyOperation1(CommunicationProtocolConjPort* self, int a, int b);
+int CommunicationProtocolConjPort_MyOperation2(CommunicationProtocolConjPort* self);
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/test.h b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/test.h
index 797a20017..cb4ddabe1 100644
--- a/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/test.h
+++ b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/test.h
@@ -1,10 +1,6 @@
-typedef struct etPort {
-
-} etPort;
-
typedef struct MyActor MyActor;
typedef struct MyActor_const {

Back to the top