Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

luaL_Buffer

Philipp Janda edited this page Mar 9, 2015 · 2 revisions

luaL_Buffer

The implementation of the luaL_Buffer API in Lua 5.2 is significantly different from its Lua 5.1 counterpart. To provide the new functions of Lua 5.2 in Compat-5.2, the complete API had to be backported. That made it necessary to replace the old luaL_Buffer type with a new structure using the C preprocessor. This can cause problems if you pass a luaL_Buffer as a parameter to a function from one compilation unit to another when not all of the compilation units use the same luaL_Buffer type.

Clone this wiki locally