Преглед на файлове

#266: Replace hard-coded SCTstates with statesEnumType extension.

anyssen преди 9 години
родител
ревизия
45ed3b5dad
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend

+ 2 - 2
plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend

@@ -102,12 +102,12 @@ class StatemachineRequiredHeader {
 			 */
 			«IF entry.tracingEnterState»
 				/*! This function is called when a state is entered. */
-				extern void stateEntered(const SCTStates state);
+				extern void stateEntered(const «statesEnumType» state);
 			«ENDIF»
 			
 			«IF entry.tracingExitState»
 				/*! This function is called when a state is exited. */
-				extern void stateExited(const SCTStates state);
+				extern void stateExited(const «statesEnumType» state);
 			«ENDIF»
 			«ENDIF»