2009-05-02 05:04:19 -04:00
|
|
|
#ifndef UNICODE
|
|
|
|
#define UNICODE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
|
2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
{
|
|
|
|
|
2009-05-04 05:50:24 -04:00
|
|
|
typedef wchar_t symbol_char;
|
2009-05-02 05:04:19 -04:00
|
|
|
|
|
|
|
#define FACTOR_OS_STRING "wince"
|
|
|
|
#define FACTOR_DLL L"factor-ce.dll"
|
|
|
|
#define FACTOR_DLL_NAME "factor-ce.dll"
|
|
|
|
|
|
|
|
int errno;
|
|
|
|
char *strerror(int err);
|
2009-05-04 05:50:24 -04:00
|
|
|
void flush_icache(cell start, cell end);
|
2009-05-02 05:04:19 -04:00
|
|
|
char *getenv(char *name);
|
|
|
|
|
|
|
|
#define snprintf _snprintf
|
|
|
|
#define snwprintf _snwprintf
|
|
|
|
|
2009-05-05 12:33:35 -04:00
|
|
|
s64 current_micros();
|
2009-05-04 05:50:24 -04:00
|
|
|
void c_to_factor_toplevel(cell quot);
|
2009-05-05 12:33:35 -04:00
|
|
|
void open_console();
|
2009-05-04 02:46:13 -04:00
|
|
|
|
|
|
|
}
|