<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        > <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Hello, C99:</span><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">So, "</span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">char (*libs[n])" would be equivalent to "</span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">char *libs[n]", which is an array of n pointers, each pointing to a character ... which is a null-terminated string, I suppose? Like "char **argv" or "char *argv[]" ... but with n</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 15.06.2020 14:34:02 schrieb Tobias Pape <das.linux@gmx.de>:</p><div style="font-family:Arial,Helvetica,sans-serif"><br>> On 15.06.2020, at 14:24, Jakob Reschke <forums.jakob@resfarm.de> wrote:<br>> <br>> <br>> Marcel Taeumel <marcel.taeumel@hpi.de> schrieb am Mo., 15. Juni 2020, 13:22:<br>> <br>> - Accept type names such as "int **" or "int[][]" in FFI-call specs and struct-field spec<br>> <br>> One further note: int[][] is not valid C in parameter types. Only the first [] can be without length, and is equivalent to a pointer. So char*argv[] is the same as char**argv. Valid parameter type examples: int a[][3], int b[][2][3]. These are like int(*a)[3] and int(*b)[2][3] if I am not mistaken.<br>> <br><br>Hello, C99:<br><br>/*      Find all paths that may contain dynamic libraries.<br> *      Returns their count. libs may be NULL to get allocation size<br> */<br>static size_t _sqo_lib_paths(size_t const n, char (*libs[n]))<br>{<br> /*...*/<br>}<br><br>;)<br><br>-t<br><br></marcel.taeumel@hpi.de></forums.jakob@resfarm.de></div></blockquote>
                                        </div></body>