]> git.imager.perl.org - imager.git/blobdiff - Mandelbrot/Mandelbrot.xs
note the setsamples() change
[imager.git] / Mandelbrot / Mandelbrot.xs
index a6837ee58bb8c2420cfd24bdce3f4b95bf5779f3..6fb24d42b3bd28028a5d3444d05958ba15056061 100644 (file)
@@ -1,3 +1,4 @@
+#define PERL_NO_GET_CONTEXT
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -19,6 +20,8 @@ DEFINE_IMAGER_CALLBACKS;
 
 MODULE = Imager::Filter::Mandelbrot   PACKAGE = Imager::Filter::Mandelbrot
 
+PROTOTYPES: ENABLE
+
 void
 mandelbrot(im, minx=-2.5, miny=-2.0, maxx=2.5, maxy=-2.0, max_iter=256)
         Imager::ImgRaw im