- Finished/rewrote Arnar's old SGI RGB file format support, so Imager
[imager.git] / SGI / SGI.xs
1 #include "EXTERN.h"
2 #include "perl.h"
3 #include "XSUB.h"
4 #include "imext.h"
5 #include "imperl.h"
6 #include "imsgi.h"
7 #include "ppport.h"
8
9 DEFINE_IMAGER_CALLBACKS;
10
11 MODULE = Imager::File::SGI  PACKAGE = Imager::File::SGI
12
13 PROTOTYPES: DISABLE
14
15 Imager::ImgRaw
16 i_readsgi_wiol(ig, partial)
17         Imager::IO ig
18         int partial
19
20 int
21 i_writesgi_wiol(ig, im)
22         Imager::IO ig
23         Imager::ImgRaw im
24
25 BOOT:
26         PERL_INITIALIZE_IMAGER_CALLBACKS;