Gimp/plug-ins/perl/Module/Module.xs

34 lines
592 B
Text
Raw Normal View History

1999-04-14 12:49:43 -07:00
#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
1999-07-07 12:04:57 -07:00
#include "gppport.h"
1999-04-14 12:49:43 -07:00
#include <libgimp/gimpmodule.h>
1999-12-07 15:51:23 -08:00
#include "../perl-intl.h"
1999-04-14 12:49:43 -07:00
MODULE = Gimp::Module PACKAGE = Gimp::Module
VERSIONCHECK: DISABLE
PROTOTYPES: ENABLE
BOOT:
{
HV *stash = gv_stashpvn("Gimp::Module", 12, TRUE);
2000-08-24 15:53:53 -07:00
newCONSTSUB(stash,"MODULE_OK",newSViv(GIMP_MODULE_OK));
newCONSTSUB(stash,"MODULE_UNLOAD",newSViv(GIMP_MODULE_UNLOAD));
1999-04-14 12:49:43 -07:00
}