projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
conversion_namespace.i
1
%module conversion_namespace
2
%rename(toFoo) oss::Bar::operator Foo();
3
4
%inline %{
5
namespace oss
6
{
7
struct Foo {
8
};
9
struct Bar {
10
operator Foo () { return Foo(); }
11
};
12
}
13
%}
14