lua-users home
lua-l archive

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


Hi,

since there is no bytecode verification I want to prohibit loading of 
precompiled data. I should be able to do it by checking data[0] != 
LUA_SIGNATURE[0], but is there any API call to do it, or is there any way to 
tell the API that only text chunks are allowed?

Right now it seems that only the Lua functions "load" and "loadin" have such 
options, but the API does not provide this functionality.


Regards
Jan Behrens