move engine to shared lib
This commit is contained in:
20
hiisi/hiisi.h
Normal file
20
hiisi/hiisi.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef HIISI_H_
|
||||
#define HIISI_H_
|
||||
|
||||
extern "C" {
|
||||
|
||||
struct Engine {
|
||||
void *module = 0;
|
||||
int (*init)(void *, int, char**);
|
||||
int (*event)(void *);
|
||||
int (*iterate)(void *);
|
||||
void (*quit)(void *);
|
||||
};
|
||||
|
||||
int init(void *appstate, int argc, char *argv[]);
|
||||
int event(void *appstate);
|
||||
int iterate(void *appstate);
|
||||
void quit(void *appstate);
|
||||
|
||||
}
|
||||
#endif // HIISI_H_
|
||||
Reference in New Issue
Block a user