From: Fred Roeber <froeber@bbn.com>
Subject: Keeping Ada and C data structures in sync
Date: 1999/05/21
Date: 1999-05-21T00:00:00+00:00 [thread overview]
Message-ID: <37459F82.BB2DB17@bbn.com> (raw)
I have a question that has probably been asked before (even though I
haven't been able to find any references to). The project I am on has
some code written in C and some in Ada. The two parts of the program
have to communicate by passing data structures. Does anyone know of a
good way to keep data structure declarations consistent between C and
Ada?
We have wondered about several solutions:
- using a translator to derive C include files from Ada
- using some sort of IDL with the appropriate compilers to derive
C and Ada versions of the structure definitions from the common
input language
Has anybody had experience/success with either of these approaches. Does
anyone know of some other better method? Thanks for any advice. Fred
--
| Fred J Roeber, BBN Systems & Technologies |
| 4 John Clarke Road Middletown, RI 02842-5202 |
| froeber@bbn.com 401-848-3548 |
next reply other threads:[~1999-05-21 0:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-21 0:00 Fred Roeber [this message]
1999-05-21 0:00 ` Keeping Ada and C data structures in sync dennison
1999-05-21 0:00 ` Larry Kilgallen
1999-05-22 0:00 ` Robert Dewar
1999-05-24 0:00 ` Samuel Mize
1999-05-23 0:00 ` Aidan Skinner
1999-05-23 0:00 ` David Botton
1999-05-23 0:00 ` Bob
1999-05-24 0:00 ` Chris
1999-05-24 0:00 ` David Botton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox