lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
Lua 5.2 will provide a macro in luaconf.h for outputting strings
> via print.

Thanks, patching for stdio-challenged systems becomes a step easier :-)

Does it also cover the 'fputs' in luaB_print (lbaselib.c) and the 'fprintf' in panic (lauxlib.c)?
(my notes refer to 5.1.2 and may not be up-to-date with current sources)

Also, #defining a macro for 'strcoll' in l_strcmp (lvm.c) would make it easier to change it to 'strcmp' or to a custom string comparison function.

  Enrico