Mercurial > hg > Game > Cerium
annotate Renderer/Engine/task/InitKey.cc @ 898:302ebfc75a79 draft
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 19:00:49 +0900 |
parents | eb6add789a24 |
children |
rev | line source |
---|---|
539 | 1 #include <stdlib.h> |
2 #include <string.h> | |
3 #include "InitKey.h" | |
4 #include "Func.h" | |
5 #include "KeyStat.h" | |
6 | |
7 SchedDefineTask(InitKey); | |
8 | |
9 static int | |
10 run(SchedTask *smanager, void *rbuf , void *wbuf) | |
11 { | |
12 | |
13 smanager->global_alloc(KEY_STATUS, sizeof(key_stat)); | |
14 | |
15 return 0; | |
16 } |