lua-users home
lua-l archive

Re: luaopen_io() crash in Lua 5.1

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


From the manual -
"The luaopen_* functions (to open libraries) cannot be called
directly, like a regular C function. They must be called through Lua,
like a Lua function"
i.e. try lua_call()
See linit.c for an example.

AltStyle によって変換されたページ (->オリジナル) /