comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Please help with my lua binding
Date: Thu, 03 Jan 2013 09:03:29 +0000
Date: 2013-01-03T09:03:29+00:00	[thread overview]
Message-ID: <lyfw2iwsda.fsf@pushface.org> (raw)
In-Reply-To: kc369b$vo4$2@dont-email.me

Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org> writes:

> On 01/02/2013 01:08 PM, Simon Wright wrote:
>>
>> These are because GNAT has been confused by ...
>>
>>> lua_h.ads:161:01: declaration of full view must appear in private part
>>
>> So you need to say
>>
>> with System;
>> package lua_h is
>>     ...
>>     type lua_state is private;
>>     ...
>> private                         -- this begins the private part
>>     ...
>>     type lua_state is new System.Address;
>>     ...
>> end lua_h;
>
> This is such basic and essential Ada that if the OP doesn't understand
> it, he shouldn't be doing anything advanced, such as writing a
> binding, until he does.

Well, the compiler messages were quite confusing.



  reply	other threads:[~2013-01-03  9:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 18:46 Please help with my lua binding Patrick
2013-01-02 19:03 ` Patrick
2013-01-02 19:31 ` Florian Weimer
2013-01-02 19:46 ` Florian Weimer
2013-01-02 19:55   ` Patrick
2013-01-02 20:08     ` Simon Wright
2013-01-03  5:51       ` Jeffrey Carter
2013-01-03  9:03         ` Simon Wright [this message]
2013-01-03  9:45           ` Florian Weimer
2013-01-02 20:08     ` Florian Weimer
2013-01-02 22:37       ` Patrick
2013-01-02 23:17       ` Patrick
2013-01-03  7:08         ` Patrick
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox