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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: Luke A. Guest Newsgroups: comp.lang.ada Subject: Re: SDL Bindings? Date: Sat, 4 Jan 2014 22:12:58 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: <1301679652410566346.928606laguest-archeia.com@nntp.aioe.org> References: <47264cd9-9d85-4a75-8163-6cdf52dcb97f@googlegroups.com> <20140102200415.080b3e99@vostro> <6ae2f376-796c-4464-ade8-b0aff1511dc4@googlegroups.com> <4ae482af-efe9-448b-b18b-6d1ca7043b62@googlegroups.com> <20140104120206.659e8e80@vostro> <1225369347410552014.162769laguest-archeia.com@nntp.aioe.org> NNTP-Posting-Host: /iQjAhEELZl1STT4Zy72bA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: NewsTap/4.0.1 (iPhone/iPod Touch) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 1667 Xref: number.nntp.dca.giganews.com comp.lang.ada:184352 Date: 2014-01-04T22:12:58+00:00 List-Id: Marius Amado-Alves wrote: >> It's better to wrap in C and bind to that. (Luke) > > Yes, that's what I'm doing. With success:-) > > The spec dump is useful to find the mangled names. Oliver I rethank you > for reminding us of that tool. > > /* I think the mangled names are necessary because the C wrapper around > C++ is still C++. What I do is write free functions with a C signature > (prototype) but that inside access the C++ entities. Then I bind the free functions. */ > > Thanks all. External "c" {}