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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,995362da150dc3a9 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!ecngs!feeder2.ecngs.de!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Interfacing to C and long long data type Date: Wed, 25 Jun 2008 20:08:47 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1214420927 6922 62.49.19.209 (25 Jun 2008 19:08:47 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 25 Jun 2008 19:08:47 +0000 (UTC) Cancel-Lock: sha1:kgCF8rMhsKtpY0rw+jqJQDKb9Cs= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Xref: g2news1.google.com comp.lang.ada:884 Date: 2008-06-25T20:08:47+01:00 List-Id: Maciej Sobczak writes: > C has a long long data type, which is supposed to be at least as big > as long. Recently, the same data type is being added to C++ as well > (they were working on it for a long long time). > > The problem is that there is no corresponding type in Interfaces.C. > > Is it possible to interface with C APIs that use long long? > > Similar issue exists with long long double. GNAT's package Interfaces has Integer_64, IEEE_Extended_Float ..