comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Re: Help with PLplot bindings: How to pass a record of function pointers to a procedure
Date: Fri, 15 Apr 2016 01:08:45 -0700 (PDT)
Date: 2016-04-15T01:08:45-07:00	[thread overview]
Message-ID: <6ea18ce9-ae38-46a0-b84d-a91540c08f5a@googlegroups.com> (raw)
In-Reply-To: <nelsq3$9kq$1@dont-email.me>

On Wednesday, April 13, 2016 at 9:43:58 AM UTC-7, Jeffrey R. Carter wrote:
<snip> 
> Only addressing this part, type PLf2ops_Type has 2 components, both of which are 
> of access types. A value (aggregate) of this type must therefore contain 2 
> access values. I suspect you want
> 
> S_Plf2ops_C : Plf2ops_Type :=
>     (Get => Plf2ops_C_Get'Access, Set => Plf2ops_C_Set'Access);
> 
> Depending on what you're doing with them, you might want the access types and 
> the record type declared Convention C.
> 
> -- 
> Jeff Carter
> "Violence is the last refuge of the incompetent."
> Foundation
> 151

Many thanks, Jeff. You are correct on both counts.

Jerry


      reply	other threads:[~2016-04-15  8:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 10:01 Help with PLplot bindings: How to pass a record of function pointers to a procedure Jerry
2016-04-13 16:43 ` Jeffrey R. Carter
2016-04-15  8:08   ` Jerry [this message]
replies disabled

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