1. Harald Klimach
  2. aotus

Source

aotus / LuaFortran / wrap_lua_dump.c

Author Commit Message Date Builds
Harald Klimach
Ensure a big enough buffer to hold the Lua script chunks dumped to memory.
Harald Klimach
Increase initial size for buffer dump memory to typical page size
Harald Klimach
Added the possibility to dump Lua functions into buffers lua_dump requires a callback function, and is therefore a little more complicated to use. With this implementation the data is written to a character pointer, hiding the call back function under the hood.