Search results
Results from the WOW.Com Content Network
Lua scripts may load extension modules using require, [20] just like modules written in Lua itself, or with package.loadlib. [22] When a C library is loaded via require ('foo') Lua will look for the function luaopen_foo and call it, which acts as any C function callable from Lua and generally returns a table filled with methods.