23 lines
		
	
	
		
			496 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			496 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
| #undef _WIN32_WINNT
 | |
| #define _WIN32_WINNT 0x0501  // For AddVectoredExceptionHandler
 | |
| 
 | |
| #ifndef UNICODE
 | |
| #define UNICODE
 | |
| #endif
 | |
| 
 | |
| #include <windows.h>
 | |
| 
 | |
| typedef char F_SYMBOL;
 | |
| 
 | |
| #define unbox_symbol_string unbox_char_string
 | |
| #define from_symbol_string from_char_string
 | |
| 
 | |
| #define FACTOR_OS_STRING "winnt"
 | |
| #define FACTOR_DLL L"factor.dll"
 | |
| #define FACTOR_DLL_NAME "factor.dll"
 | |
| 
 | |
| void c_to_factor_toplevel(CELL quot);
 | |
| long exception_handler(PEXCEPTION_POINTERS pe);
 | |
| bool console_open;
 | |
| void open_console(void);
 |