Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/task/InitKey.cc @ 603:42c94f85c779
long -> memaddr (64 or 32)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Nov 2009 14:13:29 +0900 |
parents | 735f76483bb2 |
children | 496a8159e840 |
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); static int run(SchedTask *smanager, void *rbuf , void *wbuf) { smanager->global_alloc(KEY_STATUS, sizeof(key_stat)); return 0; }