[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: using luaopen_io
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Thu, 06 Oct 2005 19:11:06 -0300
In 5.1 you need to pcall them, as in linit.c
Hello, (and my apologies if this issue has been handled here before)
I finally decided to try Lua 5.1 (alpha) with my application.
Unfortunatelly things like luaopen_package or luaopen_io
fail for me.
It looks like that I am seeing the same problem as
described by Adam Moss (see mailing 4/11/2005 with
title "assert in luaopen_io")
What is the currently recommended fix for the problem?
(The example in PIL http://www.lua.org/pil/24.1.html
does fail because of this problem)
I have not used luaL_openlibs because I don't want to
bring in all of the libraries (especially not the debug