lua-users home
lua-l archive

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




On Sun, Mar 21, 2010 at 3:16 PM, Vincent Torri <vincent.torri@gmail.com> wrote:


On Sun, Mar 21, 2010 at 2:39 PM, Petr Štetiar <ynezz@true.cz> wrote:
Vincent Torri <vincent.torri@gmail.com> [2010-03-21 09:37:25]:

> Hey,

Hi,

> One can find here : http://github.com/ynezz/luace a port of lua for Windows
> CE. The main difference is (I think) the use of a file (luace.c) to provide
> some missing ANSI functions.

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 ?


and btw, is the whole wcelibcex needed ? Maybe only some functions need to be ported. In that case, writing them would be sufficient. I did that for the graphic libraries i mentioned in my previous mail

Vincent Torri