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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc7bad83fb245cb3 X-Google-Attributes: gid103376,public From: aidan@skinner.demon.co.uk (Aidan Skinner) Subject: Binding a type to a union. Date: 1999/11/23 Message-ID: #1/1 X-Deja-AN: 551896717 X-NNTP-Posting-Host: skinner.demon.co.uk:158.152.76.219 X-Trace: news.demon.co.uk 943325203 nnrp-03:19563 NO-IDENT skinner.demon.co.uk:158.152.76.219 Organization: None User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: aidan@skinner.demon.co.uk Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-11-23T00:00:00+00:00 List-Id: Can anybody tell me the correct way to give an Ada representation of a C union contained in a structure? Eg given a declaration in C of: struct foo { union { struct { int x; } foo struct { char x; some_enum_type y; } bar } foo_bar } What's the correct way of doing this given that x needs to be public? - Aidan -- "I say we just bury him and eat dessert" http://www.skinner.demon.co.uk/aidan/ OpenPGP Key Fingerprint: 9858 33E6 C755 7D34 B5C5 316D 9274 1343 FBE6 99D9