swig/Examples/scilab/struct/runme.sci
2013-08-20 10:26:08 +02:00

11 lines
136 B
Scilab

lines(0);
exec loader.sce;
//create a struct
a=new_Bar();
Bar_x_set(a,100);
printf("a.x = %d (Sould be 100)\n", Bar_x_get(a));
exit