Sign in
fuchsia
/
third_party
/
swig
/
refs/tags/v2.0.11
/
.
/
Examples
/
test-suite
/
null_pointer.i
blob: 0da827f99436d4efbde33973c7e1a319b2cc2202 [
file
] [
log
] [
blame
]
%
module
null_pointer
%
warnfilter
(
SWIGWARN_PARSE_KEYWORD
)
func
;
// 'func' is a Go keyword, renamed as 'Xfunc'
%
inline
{
struct
A
{};
bool
func
(
A
*
a
)
{
return
!
a
;
}
A
*
getnull
()
{
return
0
;
}
}