view StateList.h @ 61:e66cab264350

RenderingEngine Task is worked on spe, task_dandy Task is worked on ppe
author yutaka@localhost.localdomain
date Sun, 06 Feb 2011 18:11:30 +0900
parents b31bed246abd
children
line wrap: on
line source

#ifndef INCLUDE_STATE_LIST
#define INCLUDE_STATE_LIST

#define LIST_NUM 50
#define DATA_LENGTH 10

typedef struct StateList {
  const char *name;
  State state;

} StateList, *StateListPtr;

extern StateList state_list[LIST_NUM];

int GetStateNum(int task_num);
void initStateList();

#endif