qpc/doxygen/snippets/qep_qfsm_ctor.c
Quantum Leaps 72c46c2993 5.3.0
2014-04-06 11:43:13 -04:00

8 lines
184 B
C

void QBomb_ctor(QBomb * const me) {
QFsm_ctor(&me->super, Q_STATE_CAST(&QBomb_initial)); /* superclass ctor */
me->timeout = 0U;
me->defuse = 0U;
me->code = 0U;
}