File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 2
2
<refentry xml : id =" ffi-ctype.getfuncparametertype" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3
3
<refnamediv >
4
4
<refname >FFI\CType::getFuncParameterType</refname >
5
- <refpurpose >Description </refpurpose >
5
+ <refpurpose >Retrieve the type of a function parameter </refpurpose >
6
6
</refnamediv >
7
7
8
8
<refsect1 role =" description" >
12
12
<methodparam ><type >int</type ><parameter >index</parameter ></methodparam >
13
13
</methodsynopsis >
14
14
<para >
15
-
15
+ Returns the type of a parameter for the underlying function type.
16
16
</para >
17
17
18
- &warn.undocumented.func;
19
-
20
18
</refsect1 >
21
19
22
20
<refsect1 role =" parameters" >
26
24
<term ><parameter >index</parameter ></term >
27
25
<listitem >
28
26
<para >
29
-
27
+ Index of the function parameter, zero-based.
30
28
</para >
31
29
</listitem >
32
30
</varlistentry >
36
34
<refsect1 role =" returnvalues" >
37
35
&reftitle.returnvalues;
38
36
<para >
39
-
37
+ Returns the type of a parameter for the underlying function type.
38
+ If the underlying type is not a function, or the given index is outside
39
+ of the range of parameters of the function, an
40
+ <exceptionname >FFI\Exception</exceptionname > is thrown.
40
41
</para >
41
42
</refsect1 >
42
43
You can’t perform that action at this time.
0 commit comments