From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5526cbaedf4542a4,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.229 with SMTP id pz5mr3159279pbc.5.1330956917977; Mon, 05 Mar 2012 06:15:17 -0800 (PST) Path: h9ni42269pbe.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: ADTs C to Ada Date: Mon, 5 Mar 2012 06:09:41 -0800 (PST) Organization: http://groups.google.com Message-ID: <28640131.3602.1330956581432.JavaMail.geo-discussion-forums@vbw15> NNTP-Posting-Host: 69.159.21.71 Mime-Version: 1.0 X-Trace: posting.google.com 1330956917 12078 127.0.0.1 (5 Mar 2012 14:15:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 5 Mar 2012 14:15:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.159.21.71; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-03-05T06:09:41-08:00 List-Id: I am studying Ada and making progress. The C interface seems straight forwa= rd enough for functions, strings pointers and such but I am having trouble = finding any information on how to interface with stucts that contain functi= ons. I am not really a programmer and master of neither C or Ada but I don't min= d 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 thi= n binding to a library and interface each data type and function seperately= ? I am interested in gstreamer right now about there are several C librarie= s I would like to interface with. At the moment I would like too create a g= streamer instance and then play, pause and seek an audio recording. Thanks for reading-Patrick