Sign in
fuchsia
/
third_party
/
swig
/
00b47d4d1d37ee0250f2f5da5cb27513f7811697
/
.
/
Examples
/
test-suite
/
ocaml
/
using_protected_runme.ml
blob: 29647c28870fa5cf15657410b284447a586dfa04 [
file
] [
log
] [
blame
]
open
Swig
open
Using_protected
let
f
=
new_FooBar C_void
let
_
=
(
invoke f
)
"[x]"
(
C_int
3
)
let
_
=
if
(
invoke f
)
"blah"
(
C_int
4
)
<>
(
C_int
4
)
then
raise
(
Failure
"blah(int)"
)