luaL_Buffer Destruction
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: luaL_Buffer Destruction
- From: William Ahern <william@...>
- Date: 2012年1月18日 22:43:39 -0800
If you initialize a luaL_Buffer object with luaL_buffinit(), must you always
call luaL_pushresult(), or can you abandon it altogether? From reading the
Lua 5.2 source code in lauxlib.c it looks like it's okay to abandon it, but
I was wondering if this is reliable behavior or something that could change
in the future.
- Bill