1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="CallOverloadFunction">
4
<refname>CallOverloadFunction</refname>
6
a C gateway function uses to call overload function or macro
10
<title>Calling Sequence</title>
11
<synopsis>CallOverloadFunction(_iVar)</synopsis>
14
<title>Arguments</title>
20
Specifies which input argument will be used to create
21
the name of overload function/macro
28
<title>Description</title>
30
a C gateway function uses to call overload function or macro
34
<title>Examples</title>
35
<para>This example returns the size:</para>
38
<para>returns the size of input argument</para>
41
<para>if input argument is a string returns the length</para>
46
<!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/calloverloadfunction_api.c-->
47
<!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/calloverloadfunction_api.tst-->
48
<!--Lib_name: calloverloadfunction-->
49
<!--Func_list: callOverload-->
50
<title>Gateway Source</title>
51
<programlisting role="code_gateway">
4
<refname>CallOverloadFunction</refname>
6
a C gateway function uses to call overload function or macro
10
<title>Calling Sequence</title>
11
<synopsis>CallOverloadFunction(_iVar)</synopsis>
14
<title>Arguments</title>
20
Specifies which input argument will be used to create
21
the name of overload function/macro
28
<title>Description</title>
30
a C gateway function uses to call overload function or macro
34
<title>Examples</title>
35
<para>This example returns the size:</para>
38
<para>returns the size of input argument</para>
41
<para>if input argument is a string returns the length</para>
46
<!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/calloverloadfunction_api.c-->
47
<!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/calloverloadfunction_api.tst-->
48
<!--Lib_name: calloverloadfunction-->
49
<!--Func_list: callOverload-->
50
<title>Gateway Source</title>
51
<programlisting role="code_gateway"><![CDATA[
53
52
int callOverload(char *fname,unsigned long fname_len)
58
57
CallOverloadFunction(1);
65
<title>Scilab test script</title>
66
<programlisting role="code_scilab">
63
<title>Scilab test script</title>
64
<programlisting role="code_scilab"><![CDATA[
68
65
function x = %c_getSize(a)