lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:


I had a similar problem in my take on unrope for ropes implemented as
Lua tables. In the end I had to reserve some stack space before the Lua buffer data. The final C code is below. The original thread started
at http://lua-users.org/lists/lua-l/2008-12/msg00055.html but the initial
versions had bugs...


Thanks Luiz. It seems that it is indeed difficult to mix those things. In this case I guess that the code will be easier to understand and maintain if I don't use buffers.

Regards,
Ignacio Burgueño