comp.lang.ada
 help / color / mirror / Atom feed
From: "Ruby_Tuesday@gmail.com" <ashos.owner@gmail.com>
Subject: Re: Complete Simple Examples of "Pragma Import (CPP,...) With Qualifiers?
Date: Thu, 12 Sep 2019 05:00:53 -0700 (PDT)
Date: 2019-09-12T05:00:53-07:00	[thread overview]
Message-ID: <263fcfcf-1353-4694-8692-99bffa8554e5@googlegroups.com> (raw)
In-Reply-To: <4d103621-ed4f-43b1-8d83-d11c822ce9eb@googlegroups.com>


> > On Wednesday, September 11, 2019 at 9:16:04 PM UTC+3, Ruby_T...@gmail.com 
>> wrote:
> > 
> > Are there other versions of this that I could see? What about C++ qualifiers,  members in classes, and namespaces how are they referenced in the pragma?
> > 

On Thursday, September 12, 2019 at 12:50:44 AM UTC-5, god...@adacore.com wrote:
>   
>                                           Class fields may be mapped to 
> record, but you need to control memory layout carefully. So, direct binding to 
> C++ is not so simple and it is very complicated to support it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Does anyone have an intuitive tutorial on how to accomplish this?

How does the memory layout differ for different things pointed to by the pragma's "External_Name"? Basically, with a simple but complete example how is the Ada code written?

Thank you,
Ruby


  reply	other threads:[~2019-09-12 12:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 18:16 Complete Simple Examples of "Pragma Import (CPP,...) With Qualifiers? Ruby_Tuesday@gmail.com
2019-09-11 22:27 ` Lucretia
2019-09-12  5:50 ` godunko
2019-09-12 12:00   ` Ruby_Tuesday@gmail.com [this message]
2019-09-13  0:00 ` Roger
2019-09-13  0:04 ` Roger
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox