Re: luaopen_io() crash in Lua 5.1
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: luaopen_io() crash in Lua 5.1
- From: "D Burgess" <dburgess@...>
- Date: 2006年8月22日 12:33:50 +1000
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.