comp.lang.ada
 help / color / mirror / Atom feed
From: guerby@gnat.com (Laurent Guerby)
Subject: Re: C Interface question
Date: 1996/07/09
Date: 1996-07-09T00:00:00+00:00	[thread overview]
Message-ID: <ws9zq59xaht.fsf@schonberg.cs.nyu.edu> (raw)
In-Reply-To: DuA7BB.21@jvdsys.nextjk.stuyts.nl



Jerry> I need to call a C function that is defined as:

Jerry> 	int *function(int value, int *result);

   type int_star is access C.int;
   pragma Convention (C, Int_Star);

   function F (Value : C.int; Result : int_star) return int_star;
   pragma Convention (C, F);

-- 
Laurent Guerby <guerby@gnat.com>, Team Ada.
   "Use the Source, Luke. The Source will be with you, always (GPL)."




  reply	other threads:[~1996-07-09  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-09  0:00 C Interface question Jerry van Dijk
1996-07-09  0:00 ` Laurent Guerby [this message]
1996-07-11  0:00   ` Jerry van Dijk
1996-07-16  0:00     ` David Kirkland
1996-07-09  0:00 ` Robert Dewar
1996-07-10  0:00   ` Theodore E. Dennison
1996-07-11  0:00     ` Robert Dewar
1996-07-11  0:00   ` Ken Garlington
1996-07-11  0:00     ` Robert Dewar
1996-07-11  0:00   ` Jerry van Dijk
1996-07-11  0:00 ` Kevin Krieser
1996-07-11  0:00   ` Robert Dewar
replies disabled

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