Article View: fr.comp.lang.ada
Article #75Re: Ada for Automation
From: Ludovic Brenta
Date: Wed, 30 Jan 2013 18:04
Date: Wed, 30 Jan 2013 18:04
22 lines
2100 bytes
2100 bytes
Je suppose que nous sommes tous trop occupés à préparer le FOSDEM pour répondre en détail... En quelques mots très rapides: - n'utilise pas System.Address mais un type accès vers le record. Ajoute pragma Convention (C) au type accès. - pour les tableaux qui sont dans le record, utilise des instances de Interfaces.C.Pointers (ARM B.3.2). Dans le record, chaque "int" deviendra un Interfaces.C.ptrdiff_t et chaque pointeur vers tableau deviendra un Interfaces.C.Pointers.Pointer. Autre solution: les 4 longueurs peuvent devenir 4 discriminants du record, les 4 tableaux étant contraints par ces discriminants. Je ne suis pas sûr que ça marcherait mais ça vaut peut-être le coup d'essayer. -- Ludovic Brenta.
Technical Details
Message-ID:
<044ae18c-9854-4f47-9b8e-b740dffe20f8@googlegroups.com>Path:
arc1-ca.pugleaf.net!k2ni3907qap.0!nntp.google.com!p13no7161468qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<4e7e5467-fe89-4d55-8b46-80e3cd8af9f8@googlegroups.com> <ce90c01c-2d8c-4a0c-83d7-1a8d8bab8e7f@googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 43d0c745c,3ec9ea2623601032
X-Google-Attributes: gid43d0c745c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: FRENCH,ASCII
X-Received: by 10.224.110.68 with SMTP id m4mr2995420qap.2.1359569076525;
Wed, 30 Jan 2013 10:04:36 -0800 (PST)
X-Received: by 10.49.84.167 with SMTP id a7mr577809qez.11.1359569076504; Wed,
30 Jan 2013 10:04:36 -0800 (PST)
Path: arc1-ca.pugleaf.net!k2ni3907qap.0!nntp.google.com!p13no7161468qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fr.comp.lang.ada
Date: Wed, 30 Jan 2013 10:04:36 -0800 (PST)
In-Reply-To: <ce90c01c-2d8c-4a0c-83d7-1a8d8bab8e7f@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=153.98.68.197;
posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC
NNTP-Posting-Host: 153.98.68.197
References: <4e7e5467-fe89-4d55-8b46-80e3cd8af9f8@googlegroups.com> <ce90c01c-2d8c-4a0c-83d7-1a8d8bab8e7f@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <044ae18c-9854-4f47-9b8e-b740dffe20f8@googlegroups.com>
Subject: Re: Ada for Automation
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Injection-Date: Wed, 30 Jan 2013 18:04:36 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable