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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6b3a3c920575b35a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to pass two dimensional arrays to C References: <1154084819.088112.325730@p79g2000cwp.googlegroups.com> <1154506834.761313.94330@m79g2000cwm.googlegroups.com> In-Reply-To: <1154506834.761313.94330@m79g2000cwm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <966Ag.11637$E02.4241@newsb.telia.net> Date: Wed, 02 Aug 2006 18:25:09 GMT NNTP-Posting-Host: 83.250.106.238 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1154543109 83.250.106.238 (Wed, 02 Aug 2006 20:25:09 CEST) NNTP-Posting-Date: Wed, 02 Aug 2006 20:25:09 CEST Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:6068 Date: 2006-08-02T18:25:09+00:00 List-Id: Jerry wrote: > That kinda made sense to me, so I moved the declaration of the package > PLFLT_Pointers is new Interfaces.C.Pointers along with its two > associated subtype and type declarations inside the scope of procedure > Mesh_3D, where you can see it commented-out above. With this > uncommented and the similar declarations in plplotthin.ads > commented-out, I get the compile error "plplotthin.ads:1025:56: > "PLFLT_Ptr_Array" is undefined." Duh. > > So how do I fix this conundrum? Moving the declaration of plmesh into Mesh_3D isn't an option? -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu