comp.lang.ada
 help / color / mirror / Atom feed
* Help needed to write bindings
@ 1995-03-28  0:00 Roger Sheldon
  1995-04-03  0:00 ` David Arno
  0 siblings, 1 reply; 4+ messages in thread
From: Roger Sheldon @ 1995-03-28  0:00 UTC (permalink / raw)


Has there been any documentation of how to write Ada bindings?

I'm working on a project to write Ada bindings to a library
of C structures and functions.

Thanks

Roger	sheldon@xvt.com  






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

* Re: Help needed to write bindings
  1995-03-28  0:00 Help needed to write bindings Roger Sheldon
@ 1995-04-03  0:00 ` David Arno
  1995-04-03  0:00   ` Samuel Tardieu
  0 siblings, 1 reply; 4+ messages in thread
From: David Arno @ 1995-04-03  0:00 UTC (permalink / raw)


In article <D66BIs.BGC@xvt.com> jimh@xvt.com "Roger Sheldon" writes:

: Has there been any documentation of how to write Ada bindings?
: 
: I'm working on a project to write Ada bindings to a library
: of C structures and functions.
: 

Unfortunately Roger, bindings tend to be compiler dependent, so your best
bet is to read the compiler manuals.
-- 
David Arno




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

* Re: Help needed to write bindings
  1995-04-03  0:00 ` David Arno
@ 1995-04-03  0:00   ` Samuel Tardieu
  1995-04-04  0:00     ` David Arno
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Tardieu @ 1995-04-03  0:00 UTC (permalink / raw)
  To: David Arno

>>>>> "David" == David Arno <davea@linkmsd.com> writes:

 David> In article <D66BIs.BGC@xvt.com> jimh@xvt.com "Roger Sheldon"
 David> writes: : Has there been any documentation of how to write Ada
 David> bindings?  : : I'm working on a project to write Ada bindings
 David> to a library : of C structures and functions.  :

 David> Unfortunately Roger, bindings tend to be compiler dependent,
 David> so your best bet is to read the compiler manuals.

These packages

  Interfaces.C
  Interfaces.C.Strings
  Interfaces.C.Pointers

are described in the RM (I think this is annex M). So bindings should
tend to be compiler independent :)

  Sam
--
"La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette"
                                                       Charles Baudelaire




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

* Re: Help needed to write bindings
  1995-04-03  0:00   ` Samuel Tardieu
@ 1995-04-04  0:00     ` David Arno
  0 siblings, 0 replies; 4+ messages in thread
From: David Arno @ 1995-04-04  0:00 UTC (permalink / raw)


In article <tardieuznfrzsckfmga@valjean.enst.fr>
           sam@inf.enst.fr "Samuel Tardieu" writes:

: These packages
: 
:   Interfaces.C
:   Interfaces.C.Strings
:   Interfaces.C.Pointers
: 
: are described in the RM (I think this is annex M). So bindings should
: tend to be compiler independent :)
: 
:   Sam

O.K., so I assumed Roger was refering to Ada 83, not Ada 95, perhaps
incorrectly.
-- 
David Arno




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

end of thread, other threads:[~1995-04-04  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-03-28  0:00 Help needed to write bindings Roger Sheldon
1995-04-03  0:00 ` David Arno
1995-04-03  0:00   ` Samuel Tardieu
1995-04-04  0:00     ` David Arno

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