Mercurial > hg > Members > koba > t_dandy
view spe/noaction.cc @ 18:c330ded6d728
add task file.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Dec 2010 22:18:11 +0900 |
parents | |
children |
line wrap: on
line source
#include "noaction.h" #include "tobject.h" SchedDefineTask(NO_ACT); static int run(SchedTask *smanager, void *rbuf, void *wbuf) { CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); p->task = NO_ACT; smanager->swap(); return 0; }