equal
deleted
inserted
replaced
|
1 #ifndef FLIB_H |
|
2 #define FLIB_H |
|
3 |
|
4 #include <stdint.h> |
|
5 |
|
6 #ifdef __cplusplus |
|
7 extern "C" { |
|
8 #endif |
|
9 |
|
10 typedef union string255_ |
|
11 { |
|
12 struct { |
|
13 unsigned char s[256]; |
|
14 }; |
|
15 struct { |
|
16 unsigned char len; |
|
17 unsigned char str[255]; |
|
18 }; |
|
19 } string255; |
|
20 |
|
21 typedef void RunEngine_t(int argc, char ** argv); |
|
22 typedef void registerIPCCallback_t(void * context, void (*)(void * context, string255 str)); |
|
23 typedef void ipcToEngine_t(string255 str); |
|
24 typedef void flibInit_t(); |
|
25 |
|
26 #ifdef __cplusplus |
|
27 } |
|
28 #endif |
|
29 |
|
30 #endif // FLIB_H |