ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.192 by root, Fri Apr 27 21:27:51 2007 UTC vs.
Revision 1.193 by root, Sun Jul 1 03:12:34 2007 UTC

4# include <malloc.h> 4# include <malloc.h>
5# include <windows.h> 5# include <windows.h>
6# include <wininet.h> 6# include <wininet.h>
7# pragma warning(disable:4244) 7# pragma warning(disable:4244)
8# pragma warning(disable:4761) 8# pragma warning(disable:4761)
9#endif
10
11//#define DEBUG 1
12#if DEBUG
13# include <valgrind/memcheck.h>
9#endif 14#endif
10 15
11#include "EXTERN.h" 16#include "EXTERN.h"
12#include "perl.h" 17#include "perl.h"
13#include "XSUB.h" 18#include "XSUB.h"
881#ifdef WIN32 886#ifdef WIN32
882 ExitThread (retval); // unclean, please beam me up 887 ExitThread (retval); // unclean, please beam me up
883#else 888#else
884 _exit (retval); 889 _exit (retval);
885#endif 890#endif
891
892void
893debug ()
894 CODE:
895{
896#if DEBUG
897 VALGRIND_DO_LEAK_CHECK;
898#endif
899}
886 900
887MODULE = CFPlus PACKAGE = CFPlus::Font 901MODULE = CFPlus PACKAGE = CFPlus::Font
888 902
889CFPlus::Font 903CFPlus::Font
890new_from_file (SV *class, char *path, int id = 0) 904new_from_file (SV *class, char *path, int id = 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines