lua-users home
lua-l archive

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

> Is a luaL_buffer limited by available memory only or are there other limits? i.e. can I use luaL_addlstring() to stuff lots (several megabytes) of data into a luaL_buffer and then push it as a string on the stack using luaL_pushresult()?

Memory and size_t. I don't remember all details about 5.0, maybe INTMAX
is a limit, too. Otherwise, there should be no problems.

-- Roberto