mirror of https://github.com/GNOME/gimp.git
34 lines
602 B
Plaintext
34 lines
602 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,"GIMP_MODULE_OK",newSViv(GIMP_MODULE_OK));
|
|
newCONSTSUB(stash,"GIMP_MODULE_UNLOAD",newSViv(GIMP_MODULE_UNLOAD));
|
|
}
|
|
|