lua-users home
lua-l archive

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


jason zhang wrote:
> I tried to call luaopen_package( L ), but it crashed.

See: http://www.lua.org/manual/5.1/manual.html#5

[quote]
These functions are declared in lualib.h and should not be called
directly: you must call them like any other Lua C function, e.g., by
using lua_call.
[/quote]

-- 
e.v.e