Sign in
fuchsia
/
third_party
/
swig
/
1915740af8c26720f366162c768c223bddb15c7c
/
.
/
Examples
/
test-suite
/
scilab
/
smart_pointer_simple_runme.sci
blob: 7ab9085fe42e0471fefbfc51718f6a8055a0add4 [
file
] [
log
] [
blame
]
exec
(
"swigtest.start"
,
-
1
);
f
=
new_Foo
();
b
=
new_Bar
(
f
);
Bar_x_set
(
b
,
3
);
if
Bar_x_get
(
b
)
<>
3
then
swigtesterror
();
end
fp
=
Bar___deref__
(
b
);
Bar_x_set
(
b
,
4
);
if
Bar_x_get
(
b
)
<>
4
then
swigtesterror
();
end
exec
(
"swigtest.quit"
,
-
1
);