- use PERL_NO_GET_CONTEXT to slightly improve performance on threaded
[imager.git] / DynTest / DynTest.xs
CommitLineData
b13a3ddb 1#define PERL_NO_GET_CONTEXT
92bda632
TC
2#ifdef __cplusplus
3extern "C" {
4#endif
5#include "EXTERN.h"
6#include "perl.h"
7#include "XSUB.h"
8#include "ppport.h"
9#ifdef __cplusplus
10}
11#endif
12
13#include "imext.h"
14#include "imperl.h"
15
16extern void lin_stretch(i_img *, int, int);
17
18DEFINE_IMAGER_CALLBACKS;
19
20MODULE = Imager::Filter::DynTest PACKAGE = Imager::Filter::DynTest
21
94022fed
TC
22PROTOTYPES: ENABLE
23
92bda632
TC
24void
25lin_stretch(im, a, b)
26 Imager::ImgRaw im
27 int a
28 int b
29
30BOOT:
31 PERL_INITIALIZE_IMAGER_CALLBACKS;
32