|
Luiz Henrique de Figueiredo wrote:
I had a similar problem in my take on unrope for ropes implemented asLua 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 startedat 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