comparison Renderer/Engine/spe/UpdateKey.cc @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents
children 496a8159e840
comparison
equal deleted inserted replaced
506:1d4a8a86f26b 507:735f76483bb2
1 #include "TaskManager.h"
2 #include "KeyStat.h"
3 #include "UpdateKey.h"
4 #include "global_alloc.h"
5
6 SchedDefineTask(UpdateKey);
7
8 static int
9 run(SchedTask *smanager, void *rbuf, void *wbuf)
10 {
11 key_stat *key = (key_stat*)smanager->get_input(rbuf, 0);
12 key_stat *gdata = (key_stat*)smanager->global_get(KEY_STATUS);
13 memcpy(gdata, key, sizeof(key_stat));
14
15 return 0;
16 }