comp.lang.ada
 help / color / mirror / Atom feed
* Least Dangerous Way to Do This ?
@ 2018-10-15 13:42 patrick
  2018-10-15 14:20 ` patrick
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: patrick @ 2018-10-15 13:42 UTC (permalink / raw)


Hi Everyone

Okay, don't laugh(or laugh too hard)

I need to interface with automatically generated C. function pointers are represented as a pointer to a pointer to a char. This is weird but done for pointer arithmetic purposes.

I have this:

type pointer1  is access character ;
type pointer2 is access pointer1 ;
foo : pointer2 ;

What do you think is the best way to assign an access to a subprogram to foo ?

I realize this is really-really weird and dangerous which is why I am asking for help.

-Patrick


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-10-18 13:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 13:42 Least Dangerous Way to Do This ? patrick
2018-10-15 14:20 ` patrick
2018-10-15 14:51 ` Jacob Sparre Andersen
2018-10-15 16:05 ` Simon Wright
2018-10-15 19:28   ` patrick
2018-10-15 19:36     ` patrick
2018-10-16 16:07       ` Shark8
2018-10-17  0:09         ` patrick
2018-10-17 20:49           ` Shark8
2018-10-18 13:52             ` patrick
2018-10-15 20:36 ` Randy Brukardt
2018-10-16 22:32   ` patrick
2018-10-17  5:16   ` Petter Fryklund
2018-10-17 21:50     ` Randy Brukardt
2018-10-18  5:24       ` Petter Fryklund

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