Files
gimp/plug-ins/perl/Module/Module.xs
2000-08-24 22:53:53 +00:00

34 lines
592 B
Plaintext

#include "config.h"
/* FIXME */
/* sys/param.h is redefining these! */
#undef MIN
#undef MAX
/* dunno where this comes from */
#undef VOIDUSED
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#define NEED_newCONSTSUB
#include "gppport.h"
#include <libgimp/gimpmodule.h>
#include "../perl-intl.h"
MODULE = Gimp::Module PACKAGE = Gimp::Module
VERSIONCHECK: DISABLE
PROTOTYPES: ENABLE
BOOT:
{
HV *stash = gv_stashpvn("Gimp::Module", 12, TRUE);
newCONSTSUB(stash,"MODULE_OK",newSViv(GIMP_MODULE_OK));
newCONSTSUB(stash,"MODULE_UNLOAD",newSViv(GIMP_MODULE_UNLOAD));
}