Sign in
fuchsia
/
third_party
/
swig
/
refs/tags/v4.0.2
/
.
/
Examples
/
python
/
import
/
base.h
blob: c0b47956bdb1dd1700492202fee893d0aeb5a311 [
file
] [
log
] [
blame
]
#include
<stdio.h>
class
Base
{
public
:
Base
()
{
}
virtual
~
Base
()
{
}
virtual
void
A
()
{
printf
(
"I'm Base::A\n"
);
}
void
B
()
{
printf
(
"I'm Base::B\n"
);
}
virtual
Base
*
toBase
()
{
return
static_cast
<
Base
*>(
this
);
}
};