comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: How to import C pointers to structures?
Date: Tue, 20 May 2014 01:26:07 +0300
Date: 2014-05-20T01:26:07+03:00	[thread overview]
Message-ID: <lle0dv$1gi$1@speranza.aioe.org> (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

             reply	other threads:[~2014-05-19 22:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 22:26 Victor Porton [this message]
2014-05-19 22:33 ` How to import C pointers to structures? 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
replies disabled

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