1 | #ifdef _WIN32 |
1 | #ifdef _WIN32 |
2 | long _ftol (double); /* defined by VC6 C libs */ |
|
|
3 | long _ftol2 (double dblSource) { return _ftol (dblSource); } |
|
|
4 | # define WIN32_LEAN_AND_MEAN |
2 | # define WIN32_LEAN_AND_MEAN |
5 | # define _WIN32_WINNT 0x0500 // needed to get win2000 api calls |
3 | # define _WIN32_WINNT 0x0500 // needed to get win2000 api calls |
6 | # include <malloc.h> |
4 | # include <malloc.h> |
7 | # include <windows.h> |
5 | # include <windows.h> |
8 | # include <wininet.h> |
6 | # include <wininet.h> |
… | |
… | |
796 | _exit (1); |
794 | _exit (1); |
797 | |
795 | |
798 | void |
796 | void |
799 | _exit (int retval = 0) |
797 | _exit (int retval = 0) |
800 | CODE: |
798 | CODE: |
|
|
799 | #ifdef WIN32 |
|
|
800 | ExitThread (retval); // unclean, please beam me up |
|
|
801 | #else |
801 | _exit (retval); |
802 | _exit (retval); |
|
|
803 | #endif |
802 | |
804 | |
803 | MODULE = CFPlus PACKAGE = CFPlus::Font |
805 | MODULE = CFPlus PACKAGE = CFPlus::Font |
804 | |
806 | |
805 | CFPlus::Font |
807 | CFPlus::Font |
806 | new_from_file (SV *class, char *path, int id = 0) |
808 | new_from_file (SV *class, char *path, int id = 0) |