[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Moving from Lua 4 to 5
- From: "Firestone, Rameses" <rameses.firestone@...>
- Date: Fri, 2 Apr 2004 09:35:03 -0800
We have been using Lua 4 for about a year and now I want to switch over to
the latest version. In order to make Lua work with our software I hacked the
I/O library so that it could optionally accept functions as I/O
descriptors. I did this so that I could take control of I/O directly. Our
software is mostly GUI oriented and we use QT so that it is portable.
With call back functions for descriptors, I could read and write to specific
windows with no problems. My questions are:
a) Can I use the old I/O library with the new Lua until I have time to modify
the new library? I know the syntax is different but will it work?
b) Is there a better way to do what I want than modifying the library? I need
portable solution that will run on both Unix and Lose-dows.
Ram