YALP v0.2
Pre-release
Pre-release
- New base functions:
argcheck
,optcheck
,map
,concat
,exit
. - New
interop
functions:tagname
,cellmin
,cellmax
. - New
debug
function:numresults
. - New
timer
functions:sleep
,wait
,waitticks
. - New
coroutine
function:resumehooked
. interop
changes: sequence tables will be marshalled as arrays (modifications are copied back after the call).heapalloc
has a new parameter specifying whether to zero the memory.varargs
is renamed tostruct
.timer
changes:parallelreg
renamed toparallelex
, order of arguments changed. Default count value was decreased to 256 from 100000.package
changes:require
looks into the "scriptfiles/lua" directory for Lua packages and into the "plugins/lua" for C packages.require
is also present even if thepackage
module isn't loaded.- Tail-calling a C function will preserve the number of expected return values.
- Functions that stored upvalue lists will now allow storing more than 255 upvalues.
- Pawn native functions check the number of arguments.
- Plugin version is reported in the
YALP_VERSION
global variable.