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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Interface To C Struct That Includes An Array Date: Mon, 17 Sep 2018 18:29:18 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 17 Sep 2018 16:29:18 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a82f6e6640e31e5bcd6d3960c3903b97"; logging-data="9891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/01adPVtc4L6mko8z+yDamMm8F/YyWLTI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:PIGJhS0zfChhPmUPjoykVM4zeG4= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:54346 Date: 2018-09-17T18:29:18+02:00 List-Id: On 09/17/2018 02:01 PM, rogermc@iinet.net.au wrote: > > (gdb) print Assimp_Path > $8 = (length => 16, data => (0 => 11, 0, 0, 0, 112, 104, 111, 101, 110, 105, 120, 46, 112, 99, 120, 0 ) I have no idea what I'm talking about, so this may be totally useless, but the 11 0 0 0 at the beginning looks like it might be some sort of encoding marker. The first of the 1009 (or is it 1010?) zeros at the end is in position 16 (index 15), so I presume it's the C string terminator. -- Jeff Carter "Oh Lord, bless this thy hand grenade, that with it thou mayst blow thine enemies to tiny bits, in thy mercy." Monty Python and the Holy Grail 24