Skip to content

YALP v0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@IS4Code IS4Code released this 26 Oct 12:40
· 45 commits to master since this 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 to struct.
  • timer changes: parallelreg renamed to parallelex, 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 the package 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.