comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: ADTs C to Ada
Date: Mon, 5 Mar 2012 06:09:41 -0800 (PST)
Date: 2012-03-05T06:09:41-08:00	[thread overview]
Message-ID: <28640131.3602.1330956581432.JavaMail.geo-discussion-forums@vbw15> (raw)

I am studying Ada and making progress. The C interface seems straight forward enough for functions, strings pointers and such but I am having trouble finding any information on how to interface with stucts that contain functions.

I am not really a programmer and master of neither C or Ada but I don't mind writing a little C to initialize a library. I was hoping to then control this ADT from Ada.

Is there any documentation on how to do this? Do I need to write a full thin binding to a library and interface each data type and function seperately? I am interested in gstreamer right now about there are several C libraries I would like to interface with. At the moment I would like too create a gstreamer instance and then play, pause and seek an audio recording.

Thanks for reading-Patrick



             reply	other threads:[~2012-03-05 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 14:09 Patrick [this message]
2012-03-05 15:23 ` ADTs C to Ada Ludovic Brenta
2012-03-05 16:03 ` Patrick
2012-03-05 16:08 ` Simon Wright
2012-03-05 16:58 ` Georg Bauhaus
replies disabled

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