qpc/doxygen/snippets/qep_qfsm_ctor.c
Quantum Leaps f165ec4842 5.6.0-beta
2015-12-24 14:33:20 -05:00

9 lines
186 B
C

void Bomb_ctor(Bomb * const me) {
/* superclass' ctor */
QFsm_ctor(&me->super, Q_STATE_CAST(&Bomb_initial));
me->timeout = 0U;
me->defuse = 0U;
me->code = 0U;
}