added %perlcode directive, patch from Fabrice Salvaire

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-26 21:16:19 +00:00
commit f9c82b3138

View file

@ -9,6 +9,8 @@
%runtime "perlrun.swg" // Perl runtime functions
%runtime "noembed.h" // undefine Perl5 macros
#define %perlcode %insert("perl")
/* Typemaps for input parameters */
%typemap(in) int, short, long, signed char, bool, enum SWIGTYPE