libvips/swig/vipsCC/VMask.i

36 lines
836 B
OpenEdge ABL
Raw Normal View History

2009-08-16 17:00:08 +02:00
/* SWIG interface file for VMask.
*/
%module VMask
%{
#include <stdexcept>
2009-11-10 14:54:15 +01:00
#include <vips/vipscpp.h>
2009-08-16 17:00:08 +02:00
%}
%import "VError.i"
%import "VImage.i"
/* Need to override assignment to get refcounting working.
*/
%rename(__assign__) *::operator=;
/* [] is array subscript, as you'd expect.
*/
%rename(__index__) vips::VIMask::operator[];
%rename(__index__) vips::VDMask::operator[];
/* () is 2d array subscript, how odd!
*/
%rename(__call__) vips::VIMask::operator();
%rename(__call__) vips::VDMask::operator();
/* Type conversion operators renamed as functions.
*/
%rename(convert_VImage) vips::VIMask::operator vips::VImage;
%rename(convert_VImage) vips::VDMask::operator vips::VImage;
%rename(convert_VIMask) vips::VDMask::operator vips::VIMask;
%rename(convert_VDMask) vips::VIMask::operator vips::VDMask;
2009-11-10 14:54:15 +01:00
%include vips/VMask.h