/tags/rel-1-3-26/SWIG/Examples/test-suite/defvalue_constructor.i
# · Swig · 14 lines · 10 code · 4 blank · 0 comment · 0 complexity · 1aefe32021f5cd538bc2eed5f5292db8 MD5 · raw file
- %module defvalue_constructor
- %inline %{
- namespace Foo {
-
- class Bar {};
-
- class Baz {
- public:
- Baz(Bar b = Bar()) {}
- };
- }
- %}