git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-04-04 18:35:44 +00:00
commit c490d3d2e9
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
%module inline_initializer
%inline %{
class Foo {
int x;
public:
Foo(int a);
};
Foo::Foo(int a) : x(a) { }
%}