view Renderer/Engine/task/InitKey.cc @ 987:6c3dffa8996f draft akira

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:19:33 +0900
parents eb6add789a24
children
line wrap: on
line source

#include <stdlib.h>
#include <string.h>
#include "InitKey.h"
#include "Func.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;
}