Sign in
fuchsia
/
third_party
/
swig
/
5cc90e6f5b321cae8e7290dc055d3e13543a2155
/
.
/
Examples
/
test-suite
/
typedef_classforward_same_name.i
blob: ad2e456f8a95e198890587ba36ae14f281d2d0ba [
file
] [
log
] [
blame
]
%
module
typedef_classforward_same_name
%
inline
%{
typedef
struct
Foo
Foo
;
struct
Foo
{
int
x
;
};
int
extractFoo
(
Foo
*
foo
)
{
return
foo
->
x
;
}
struct
Boo
{
int
x
;
};
typedef
struct
Boo
Boo
;
int
extractBoo
(
Boo
*
boo
)
{
return
boo
->
x
;
}
%}