vector struct is broken
This commit is contained in:
parent
c9447cf7ca
commit
206b232935
2 changed files with 32 additions and 0 deletions
21
include/arc/engine/state.h
Normal file
21
include/arc/engine/state.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef ARC_ENGINE_STATE_H_
|
||||
#define ARC_ENGINE_STATE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ARC_State {
|
||||
void (* updateFn)();
|
||||
void (* renderFn)();
|
||||
} ARC_State;
|
||||
|
||||
void ARC_State_Update(void *data);
|
||||
|
||||
void ARC_State_Render(void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARC_ENGINE_STATE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue