lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Vincent Torri <> [2010-03-21 15:16:26]:

> On Sun, Mar 21, 2010 at 2:39 PM, Petr Štetiar <> 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_

> 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 :
> 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