view Renderer/Engine/task/InitKey.cc @ 801:eb6add789a24 draft

global id
author yutaka@localhost.localdomain
date Wed, 19 May 2010 14:59:41 +0900
parents 3bc98f6d31ff
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;
}