mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-11 22:18:43 +01:00
For native closures this method returns _nparamscheck value which can be negative when function accepts variable number of arguments - and it's incorrect to cast it to unsigned. Also, _nparameters, _noutervalues and _nparamscheck fields are actually signed integers, so it is better to keep them signed. And casting _noutervalues is ok since it has enough capacity.