Mercurial > hg > Game > Cerium
view Renderer/Engine/task/InitKey.cc @ 541:1a31b8820a4d draft
Cerium Rendering Library
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 10:17:09 +0900 |
parents | 3bc98f6d31ff |
children | eb6add789a24 |
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; }