comp.lang.ada
 help / color / mirror / Atom feed
* How to import C pointers to structures?
@ 2014-05-19 22:26 Victor Porton
  2014-05-19 22:33 ` Shark8
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Victor Porton @ 2014-05-19 22:26 UTC (permalink / raw)


I've recently studied about the latest Ada standard (Ada2012) with the 
purpose to port librdf to Ada and then use it in my project.

Suppose we have a C function:

void f(struct_t *ptr);

Here struct_t is a typedef which denotes an structure which layout should be 
considered unknown to us.

How to import it to Ada? We don't know struct_t layout.

-- 
Victor Porton - http://portonvictor.org

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

end of thread, other threads:[~2014-05-22 13:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 22:26 How to import C pointers to structures? Victor Porton
2014-05-19 22:33 ` Shark8
2014-05-19 22:44   ` Adam Beneschan
2014-05-20  0:10     ` Shark8
2014-05-20  0:22       ` Adam Beneschan
2014-05-20  6:36         ` Simon Wright
2014-05-20  8:29 ` björn lundin
2014-05-20 19:07 ` Per Sandberg
2014-05-22 13:37   ` Stephen Leake

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