add PROTOTYPES lines to XS that were missing them
[imager.git] / Mandelbrot / Mandelbrot.xs
CommitLineData
92bda632
TC
1#ifdef __cplusplus
2extern "C" {
3#endif
4#include "EXTERN.h"
5#include "perl.h"
6#include "XSUB.h"
7#include "ppport.h"
8#ifdef __cplusplus
9}
10#endif
11
12#include "imext.h"
13#include "imperl.h"
14
15void
16mandelbrot(i_img *im, double minx, double miny, double maxx, double maxy, int max_iter);
17
18DEFINE_IMAGER_CALLBACKS;
19
20MODULE = Imager::Filter::Mandelbrot PACKAGE = Imager::Filter::Mandelbrot
21
94022fed
TC
22PROTOTYPES: ENABLE
23
92bda632
TC
24void
25mandelbrot(im, minx=-2.5, miny=-2.0, maxx=2.5, maxy=-2.0, max_iter=256)
26 Imager::ImgRaw im
27 double minx
28 double miny
29 double maxx
30 double maxy
31 int max_iter
32
33BOOT:
34 PERL_INITIALIZE_IMAGER_CALLBACKS;
35