From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Please help with my lua binding
Date: Wed, 02 Jan 2013 22:51:37 -0700
Date: 2013-01-02T22:51:37-07:00 [thread overview]
Message-ID: <kc369b$vo4$2@dont-email.me> (raw)
In-Reply-To: <lyk3rvwdp1.fsf@pushface.org>
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.
--
Jeff Carter
"My brain hurts!"
Monty Python's Flying Circus
21
next prev parent reply other threads:[~2013-01-03 5:51 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 [this message]
2013-01-03 9:03 ` Simon Wright
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