From 136025b0358cc5ee9b615cf766fdac51a2199e29 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 17 Oct 2004 19:22:58 +0000 Subject: [PATCH] missing function body added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6413 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/defvalue_constructor.i | 2 +- Examples/test-suite/lextype.i | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/test-suite/defvalue_constructor.i b/Examples/test-suite/defvalue_constructor.i index ebb4d2aba..e4aabaf50 100644 --- a/Examples/test-suite/defvalue_constructor.i +++ b/Examples/test-suite/defvalue_constructor.i @@ -7,7 +7,7 @@ namespace Foo { class Baz { public: - Baz(Bar b = Bar()); + Baz(Bar b = Bar()) {} }; } diff --git a/Examples/test-suite/lextype.i b/Examples/test-suite/lextype.i index bb1bf2006..b96f49d78 100644 --- a/Examples/test-suite/lextype.i +++ b/Examples/test-suite/lextype.i @@ -42,8 +42,8 @@ code is not functioning properly it will fail to compile. typedef void * Animal; typedef Animal Giraffe; -void eat(Giraffe g); -void drink(Giraffe *g); -Giraffe mate(Giraffe g[2]); +void eat(Giraffe g) {} +void drink(Giraffe *g) {} +Giraffe mate(Giraffe g[2]) {} %}