Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-02-26 14:58:40 +0000
committerThomas Schuetz2012-02-26 14:58:40 +0000
commitafc4b117aab39c0f6f726c4efdaa83f441faf61c (patch)
treedaaef66ac1629df2d828aff1559434fe67f55d13 /runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c
parent724f46d55b352c16731b46a332b13d436b536aae (diff)
downloadorg.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.gz
org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.xz
org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.zip
[runtime.c] reorganized runtime.c for separation of common and platform specific parts, adapted include pathes, C-generator and tests
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c b/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c
new file mode 100644
index 000000000..224461432
--- /dev/null
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessage.c
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Thomas Schuetz (initial contribution)
+ *
+ *******************************************************************************/
+
+#include "messaging/etMessage.h"
+
+#include "debugging/etMSCLogger.h"
+
+#include <stddef.h>
+
+void etMessage_init(etMessage* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("etMessage", "init")
+ self->next = NULL;
+ self->address = 0;
+ self->evtID = 0;
+ ET_MSC_LOGGER_SYNC_EXIT
+}

Back to the top