"Fossies" - the Fresh Open Source Software Archive

Member "swig-4.1.1/Examples/test-suite/scilab/abstract_signature_runme.sci" (30 Nov 2022, 265 Bytes) of package /linux/misc/swig-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Scilab source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 exec("swigtest.start", -1);
    2 
    3 // These calls must fail
    4 ierr = execstr('abstract_foo_meth(1)', 'errcatch');
    5 if ierr == 0 then swigtesterror(); end
    6 
    7 ierr = execstr('abstract_bar_meth(1)', 'errcatch');
    8 if ierr == 0 then swigtesterror(); end
    9 
   10 exec("swigtest.quit", -1);