Skip to content

Commit f93f8ad

Browse files
committed
[Scilab] remove targetversion argument
This commit handles multi-version support at runtime, it fixes: * 5.5.2 - with cutted long identifier name * 6.0.0 - with full string identifier * 6.1.0 - with 1 or 0 output argument It also improves the codebase by: * Using `Char(X)` instead of `DohCheck(X)` and `Data(X)` * Using `Len(X)` instead of `strlen()` * Correctly detecting old Scilab versions
1 parent ce6c0c4 commit f93f8ad

File tree

2 files changed

+149
-144
lines changed

2 files changed

+149
-144
lines changed

Doc/Manual/Scilab.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@ <H3><a name="Scilab_running_swig_options">36.2.5 Scilab command line options</a>
304304
<td>Generate the gateway XML with the given &lt;gateway_id&gt;</td>
305305
</tr>
306306

307-
<tr>
308-
<td><tt>-targetversion</tt></td>
309-
<td>Generate for Scilab target (major) version</td>
310-
</tr>
311-
312307
</table>
313308

314309
<p>
@@ -343,10 +338,6 @@ <H3><a name="Scilab_wrapping_identifiers">36.3.2 Identifiers</a></H3>
343338
In these cases, the <a href="SWIG.html#SWIG_rename_ignore">%rename directive</a> can be used to choose a different Scilab name.
344339
</p>
345340

346-
<p>
347-
Note: truncations can be disabled by specifying the target version 6 of Scilab in the <tt>targetversion</tt> argument (i.e. <tt>-targetversion 6</tt>).
348-
</p>
349-
350341
<H3><a name="Scilab_wrapping_functions">36.3.3 Functions</a></H3>
351342

352343

0 commit comments

Comments
 (0)