FSM/vscode/FSM_OOP/template/templateFSM.h

26 lines
409 B
C
Raw Normal View History

2024-01-23 20:05:30 +08:00
#ifndef __TEMPLATE_FSM_H_
#define __TEMPLATE_FSM_H_
#define TemplateFSM_Input(pFSM) ((TemplateFSMIn *)_preloadIn((FSM *)pFSM))
typedef struct _templateFSMIn
2024-01-23 20:05:30 +08:00
{
int arrindex;
int x;
}TemplateFSMIn;
typedef struct _templateFSMData
{
TemplateFSMIn in;
int y1;
int inner1;
2024-01-23 20:05:30 +08:00
}TemplateFSMData;
typedef struct _TemplateFSM TemplateFSM;
TemplateFSM *createTemplateFSM();
#endif