lua-users home
lua-l archive

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


Hi all,
 
I have got a question, I have never yet loaded compiled lua scripts from C api, and I've seen luaL_loadbuffer. However,
I'm not sure if this is the proc to use for loading a memorybuffer filled with bytecode.
 
The memorybuffer contains compiled lua, must I pass on the pointer to the buffer as second argument for luaL_loadbuffer?
 
Thanks.