see plug-ins/perl/Changes

This commit is contained in:
Marc Lehmann
1999-05-19 21:47:05 +00:00
parent 0a4686ed96
commit 5aa638392c
18 changed files with 356 additions and 93 deletions

View File

@ -0,0 +1,31 @@
#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 "ppport.h"
#include <libgimp/gimpmodule.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));
}