]> gitweb.factorcode.org Git - factor.git/blob - vm/os-windows-ce.hpp
GAME: syntax for defining game entry point with game-loop attributes
[factor.git] / vm / os-windows-ce.hpp
1 #ifndef UNICODE
2 #define UNICODE
3 #endif
4
5 #include <windows.h>
6 #include <ctype.h>
7
8 namespace factor
9 {
10
11 typedef wchar_t symbol_char;
12
13 #define FACTOR_OS_STRING "wince"
14 #define FACTOR_DLL L"factor-ce.dll"
15 #define FACTOR_DLL_NAME "factor-ce.dll"
16
17 int errno;
18 char *strerror(int err);
19 void flush_icache(cell start, cell end);
20 char *getenv(char *name);
21
22 #define snprintf _snprintf
23 #define snwprintf _snwprintf
24
25 u64 system_micros();
26 void c_to_factor_toplevel(cell quot);
27 void open_console();
28
29 }