From: mpowell_jr@hotmail.com (MPowell)
Subject: Ada to C Question
Date: 12 Apr 2003 07:43:52 -0700
Date: 2003-04-12T14:43:52+00:00 [thread overview]
Message-ID: <2a159604.0304120643.39f77838@posting.google.com> (raw)
Perhaps I'm in the wrong forum but I doing some translation from Ada
to C.
I've noticed in Ada you can do things like.
type MYTYPE_YOURTYPE is (MyType, -- 0
YourType); -- 1
type YOURTYPE_MYTYPE is (YourType, -- 0
MyType); -- 1
typedef enum { MyType,
YourType } MYTYPE_YOURTYPE ;
Obviously if I typedef on YOURTYPE_MYTYPE the compiler complains so
I'm not sure how to handle this?
next reply other threads:[~2003-04-12 14:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-12 14:43 MPowell [this message]
2003-04-12 14:53 ` Ada to C Question Jeffrey Creem
2003-04-12 17:18 ` MPowell
2003-04-12 19:16 ` Larry Kilgallen
2003-04-12 19:43 ` tmoran
[not found] ` <2a159604.0304121850.2820b67f@posting.google.com>
2003-04-13 5:37 ` Hyman Rosen
2003-04-13 6:05 ` tmoran
2003-04-13 11:34 ` Larry Kilgallen
2003-04-13 13:38 ` MPowell
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox