[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua 5.2 : merging lua for Windows CE/Mobile upstream
- From: Petr Štetiar <ynezz@...>
- Date: Sun, 21 Mar 2010 19:06:48 +0100
Vincent Torri <vincent.torri@gmail.com> [2010-03-21 15:16:26]:
> On Sun, Mar 21, 2010 at 2:39 PM, Petr Štetiar <ynezz@true.cz> wrote:
> >
> > No, it's not that simple as you think :-) It uses wcelibcex[1] library and
> > luace.h contains all the missing ANSI/C bits for the CE/Mobile. Because
> > there's no main() function in CE/Mobile luace.c is trying to mimic it's
> > behaviour using WinMain() and at the end it calls main() from lua.c.
>
> hrm. And what if I only need the library ? Is wcelibcex still needed ?
> Anyway, instead of having a fork, having everything upstream is quite
> better.
You need wcelibcex, look at luace.h for all functions starting with wceex_
prefix.
> these bits == luace.c and luace.h ? or even more (wcelibcex) ?
luace.c is only needed for the interpreter, for lua.c as I said there's no
main() function in Windows CE so you need something which have WinMain().
> > BTW I've played with cegcc and PocketPutty, but it was quite unusable 3
> > years ago. Don't know the status of cegcc now. Patches are always welcome
> > :-)
>
> It's quite usuable now. Here is what i achived with some graphic libraries :
> http://www.calaos.fr/pub/moshi_wince.avi So no problem with cegcc.
Looks nice, can you tell me more about it(source would rox! :-))? What's
Moshi? I've seen some EFL libraries in the file explorer on the video and the
UI looks like it's made using it. Thanks.
-- ynezz