Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/task/InitKey.cc @ 802:496a8159e840
global id
author | yutaka@localhost.localdomain |
---|---|
date | Wed, 19 May 2010 14:59:41 +0900 (2010-05-19) |
parents | 735f76483bb2 |
children |
rev | line source |
---|---|
507 | 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 } |