YALP v0.3
Pre-release
Pre-release
- Pawn functions for controlling the Lua machine check the number of arguments.
exit
function in the base package. It terminates any code that executes in the Lua machine and prevents any other code from running there, then deletes the machine as soon as possible.- Lua files can be passed into Pawn native functions. Every call creates a new copy of the original file handle (but with the same offset and access rights), which gets closed after the function is called.
interop.asfile
andinterop.asnewfile
to convert PawnFile
handles to Lua files. Both function create a copy of the file handle, but the first one deletes the original one as well, so it should be only used for functions which are meant to open files (without storing the result anywhere else).