]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wxSWIG/swig_lib/perl5/headers.swg
Since I have made several changes to SWIG over the years to accomodate
[wxWidgets.git] / wxPython / wxSWIG / swig_lib / perl5 / headers.swg
diff --git a/wxPython/wxSWIG/swig_lib/perl5/headers.swg b/wxPython/wxSWIG/swig_lib/perl5/headers.swg
new file mode 100644 (file)
index 0000000..3ae8f6a
--- /dev/null
@@ -0,0 +1,24 @@
+/* $Header$ */
+/* Implementation : PERL 5 */
+
+#define SWIGPERL
+#define SWIGPERL5
+#ifdef __cplusplus
+/* Needed on some windows machines---since MS plays funny
+   games with the header files under C++ */
+#include <math.h>
+#include <stdlib.h>
+extern "C" {
+#endif
+#include "EXTERN.h"
+#include "perl.h"
+#include "XSUB.h"
+
+/* Get rid of free and malloc defined by perl */
+#undef free
+#undef malloc
+
+#include <string.h>
+#ifdef __cplusplus
+}
+#endif