lua-users home
lua-l archive

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

Luiz Henrique de Figueiredo <> wrote:
> >Are all strings within Lua represented as lstrings?
> Yes. All strings within Lua are byte arrays with an explicit length 
> The length is a long, and so the strings can be really long :-)
> See the type TString in lobject.h for details.
> But doesn't the manual say so?
>   Lua is eight-bit clean, and so strings may contain any 8-bit character,
>   including embedded zeros.

Sorry to ask a manual question. What confuses me is that Waldemar Celes
created buffer APIs for glLua. Why do this if you can use strings as