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,d1533431e7e9d2eb,start X-Google-Attributes: gid103376,public From: gressett@iglobal.net Subject: Nontrivial examples of C interface with Ada Date: 2000/05/23 Message-ID: <9ckmisoo8k0dh1gcajhdgqtqjqc3bjmb25@4ax.com>#1/1 X-Deja-AN: 626574148 Content-Transfer-Encoding: 7bit Organization: Posted via Supernews, http://www.supernews.com Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Reply-To: gressett@iglobal.net Newsgroups: comp.lang.ada X-Complaints-To: newsabuse@supernews.com Date: 2000-05-23T00:00:00+00:00 List-Id: Is there an example of a well-done, nontrivial interface to a C library readily available on the web? Examples of communication with C things defined like some_struct *c_function(const char *things[]); char *things[] = { "a", "b", "c", NULL }; or void c_routine(some_struct *p, void *otherthings[]); or int c_function2(int numbers[]); would be very nice to have. (Was it Mark Twain who said, "Learning by example isn't the best way, it's the only way."?)