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!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Convert an access to constant to access to variable Date: Mon, 7 Aug 2017 18:16:26 -0500 Organization: JSA Research & Innovation Message-ID: References: <41be1cc1-7fc3-404f-9593-b7acea3071d5@googlegroups.com> Injection-Date: Mon, 7 Aug 2017 23:16:27 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="28770"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:47641 Date: 2017-08-07T18:16:26-05:00 List-Id: "Victor Porton" wrote in message news:om500e$3iv$1@gioia.aioe.org... ... > I need chars_ptr for interfacing with C. > > There is no constant_chars_ptr. > > (I need to generate chars_ptr from a char_array or rather from constant > char_array.) We did all of this sort of stuff just using Interfaces.C.To_Ada and various types with convention C. I don't think I've ever used Interfaces.C.Strings and Interfaces.C.Pointers outside of testing them. I think you are seeing why... Randy.