From bc2722fc099620cc250bf8f938495e2dbfbaf0a2 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 4 Oct 2004 20:00:51 +0000 Subject: [PATCH] fix so that swig wraps what is actually used git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6300 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/anonymous_arg.i | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Examples/test-suite/anonymous_arg.i b/Examples/test-suite/anonymous_arg.i index b2417fda2..d6278e2d6 100644 --- a/Examples/test-suite/anonymous_arg.i +++ b/Examples/test-suite/anonymous_arg.i @@ -5,8 +5,7 @@ %module anonymous_arg -void foo(int = 7771); - -%{ +%inline %{ + void foo(int = 7771); void foo(int x) {} %}