[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is luaL_buffer limited by memory only?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 4 Oct 2019 13:15:14 -0300
> 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