Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/spe/InitKey.cc @ 456:c5e7b7e33bb7 draft
InitKey UpdateKey added
author | kazz@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 26 Sep 2009 02:53:44 +0900 |
parents | |
children | 60f44d3ea452 |
line wrap: on
line source
#include <stdlib.h> #include <string.h> #include "InitKey.h" #include "Func.h" #include "global_alloc.h" #include "KeyStat.h" SchedDefineTask(InitKey); int InitKey::run(SchedTask *smanager, void *rbuf , void *wbuf) { void *key = smanager->global_alloc(KEY_STATUS, sizeof(key_stat)); return 0; }