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

5 lines
153 B
C

void Philo_ctor(Philo * const me) {
QActive_ctor(&me->super, Q_STATE_CAST(&Philo_initial));
QTimeEvt_ctorX(&me->timeEvt, me, TIMEOUT_SIG, 0U);
}