fix kw in perl

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-27 02:13:49 +00:00
commit 8e37a7bc71

View file

@ -481,7 +481,27 @@ struct Instances {
%csconst(1);
#endif
#if defined(SWIGPERL)
%inline %{
namespace RepeatSpace {
typedef enum
{
one = 1,
initial = one,
two,
three,
llast = three,
end = llast
} repeat;
repeat repeatTest(repeat e) { return e; }
}
%}
#else
%inline %{
namespace RepeatSpace {
typedef enum
{
@ -498,3 +518,5 @@ repeat repeatTest(repeat e) { return e; }
%}
#endif