qpc/doxygen/snippets/qep_qhsm_ctor.c
Quantum Leaps 0e95d49224 5.1.0
2013-09-23 14:34:35 -04:00

9 lines
206 B
C

void QCalc_ctor(QCalc *me) {
QHsm_ctor(&me->super, Q_STATE_CAST(&QCalc_initial)); /* superclass' ctor */
me->operand1 = 0.0;
me->operand2 = 0.0;
me->len = 0U;
me->opKey = 0U;
}