From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,747d1273d7d099f X-Google-Attributes: gid103376,public From: Paul Chardon Subject: Re: Interfacing to C, output arrays Date: 1996/12/10 Message-ID: <32AD0C63.446B9B3D@avions.aerospatiale.fr>#1/1 X-Deja-AN: 203282859 references: to: Simon Wright content-type: text/plain; charset=us-ascii mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) Date: 1996-12-10T00:00:00+00:00 List-Id: Hello, I've got such problems similary problems handling C strings, and after a moment I realize as for me that I've got a C problem, and not an Ada problem. My proposal is the following one. The profile of you C function mustn't it be : int accessor(int n, int* a[]); Thus, the array parameter would be a real out one. Don't you think so ? Hope it will help you, Paul.