- Remove --port command
- Some refactoring here and there
- Try to get preview from engine, which doesn't work due to some ABI mismatch, probably shouldn't try to pass string255 to pascal
#ifndef FLIB_H
#define FLIB_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef union string255_
{
struct {
unsigned char s[256];
};
struct {
unsigned char len;
unsigned char str[255];
};
} string255;
typedef void RunEngine_t(int argc, char ** argv);
typedef void registerIPCCallback_t(void * context, void (*)(void * context, string255 str));
typedef void ipcToEngine_t(string255 str);
typedef void flibInit_t();
#ifdef __cplusplus
}
#endif
#endif // FLIB_H