]> gitweb.factorcode.org Git - factor.git/blob - vmpp/os-windows-ce.hpp
a2be5fe475fe60490f69f5416ebab714c0b58219
[factor.git] / vmpp / os-windows-ce.hpp
1 #ifndef UNICODE
2 #define UNICODE
3 #endif
4
5 #include <windows.h>
6 #include <ctype.h>
7
8 typedef wchar_t F_SYMBOL;
9
10 #define unbox_symbol_string unbox_u16_string
11 #define from_symbol_string from_u16_string
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 s64 current_micros(void);
26 void c_to_factor_toplevel(CELL quot);
27 void open_console(void);