lua-users home
lua-l archive

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


> The only thing I'd really want of Lua itself, is enumerated types, so
> that C API constants can be used as type-aware parameters, and catch any
> "false" usage (color enum where font enums should be, and such). This
> is a major issue for coding larger programs with SDL, Gtk+ etc. and
> currently, just placing those enums as integers is a Lowsy Solution.

Several Lua libraries use strings for such parameters.

-- Roberto