Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/spe/UpdateKey.cc @ 802:496a8159e840
global id
author | yutaka@localhost.localdomain |
---|---|
date | Wed, 19 May 2010 14:59:41 +0900 |
parents | 735f76483bb2 |
children |
line wrap: on
line source
#include "TaskManager.h" #include "KeyStat.h" #include "UpdateKey.h" #include "Func.h" SchedDefineTask(UpdateKey); static int run(SchedTask *smanager, void *rbuf, void *wbuf) { key_stat *key = (key_stat*)smanager->get_input(rbuf, 0); key_stat *gdata = (key_stat*)smanager->global_get(KEY_STATUS); memcpy(gdata, key, sizeof(key_stat)); return 0; }