- Changes between version 5.5.0-beta-1 and 5.5.0-beta-2
+ Changes between version 5.5.0-beta-1 and 5.5.0-beta-2
=====================================================
GUI Refactoring and Improvements
* Bug #11714 fixed - help_from_sci sometimes failed when input function had "<imagedata>" comments.
+* Bug #11779 fixed - Wrong type in the documentation of getNbInputArgument and getNbOutputArgument fixed.
+
* Bug #11814 fixed - Typo in CACSD help chapter fixed.
* Bug #11953 fixed - Scilab crashed when global("") was typed.
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
- <synopsis>nb_params = getNbInputArgument(void* _pvCtx)</synopsis>
- <synopsis>nb_params = nbInputArgument</synopsis>
- <synopsis>nb_params = Rhs</synopsis>
+ <synopsis>int* nb_params = getNbInputArgument(void* _pvCtx)</synopsis>
+ <synopsis>int nb_params = nbInputArgument(void* _pvCtx)</synopsis>
+ <synopsis>int nb_params = Rhs</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<varlistentry>
<term>nb_params</term>
<listitem>
- <para>the number of input arguments present in the calling Scilab
+ <para>the pointer on the number of input arguments present in the calling Scilab
function
</para>
</listitem>
int sci_myrhs(char * fname)
{
- sciprint("The number of input parameters is %d\n", getNbInputArgument);
+ sciprint("The number of input parameters is %d\n", *getNbInputArgument());
return 0;
}
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
- <synopsis>nb_params = getNbOutputArgument(void* _pvCtx)</synopsis>
- <synopsis>nb_params = nbOutputArgument</synopsis>
- <synopsis>nb_params = Lhs</synopsis>
+ <synopsis>int* nb_params = getNbOutputArgument(void* _pvCtx)</synopsis>
+ <synopsis>int nb_params = nbOutputArgument(void* _pvCtx)</synopsis>
+ <synopsis>int nb_params = Lhs</synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
<term>nb_params</term>
<listitem>
<para>
- the number of output arguments present in the calling Scilab
+ the pointer on the number of output arguments present in the calling Scilab
function
</para>
</listitem>
int sci_mylhs(char * fname)
{
- sciprint("The number of output arguments is %d\n", getNbOutputArgument());
+ sciprint("The number of output arguments is %d\n", *getNbOutputArgument());
return 0;
}