Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2016-04-18 08:34:21 +0000
committerHenrik Rentz-Reichert2016-04-18 08:34:21 +0000
commit2d6f3784a8c0dde32cb8bf05f92a97be5831f001 (patch)
tree17f99ca4a8423fe3f70250b4d6a09284a97fe35f /plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c
parentf7e62f7bc4fe98822a874c96befc9d765f40bac0 (diff)
downloadorg.eclipse.etrice-2d6f3784a8c0dde32cb8bf05f92a97be5831f001.tar.gz
org.eclipse.etrice-2d6f3784a8c0dde32cb8bf05f92a97be5831f001.tar.xz
org.eclipse.etrice-2d6f3784a8c0dde32cb8bf05f92a97be5831f001.zip
Bug 491885 - add generator option that allows to change the main name
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491885 Change-Id: I4c138449eab8bd8a21bf6373869a2afdc4d6eb82
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c')
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/NodeRunnerGen.xtend6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/NodeRunnerGen.xtend b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/NodeRunnerGen.xtend
index 53ac1a14e..3e56fdcd3 100644
--- a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/NodeRunnerGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/NodeRunnerGen.xtend
@@ -69,11 +69,11 @@ class NodeRunnerGen {
#include "osal/etPlatformLifecycle.h"
/**
- * main function
- * creates component and starts and stops the lifecycle
+ * «Main.getSettings.mainMethodName» function
+ * creates components and starts and stops the lifecycle
*/
- int main(int argc, char** argv) {
+ int «Main.getSettings.mainMethodName»(int argc, char** argv) {
etBool runAsTest = ET_FALSE;
#ifdef ET_DO_NOT_USE_ARGC_ARGV

Back to the top