665b5b1c5d
Make params count type signed in sq_getclosureinfo()
...
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.
2018-07-20 09:49:38 +03:00
ab7243ca59
Merge branch 'master' of https://github.com/albertodemichelis/squirrel
2017-11-17 04:01:47 +08:00
3c2de4bd59
added sq_tailcall()
2017-11-17 03:55:35 +08:00
40e994bc88
update Copyright year 2016 to 2017
2017-07-15 10:05:08 -03:00
701a0e4ae5
Fix the SQ_UNUSED_ARG() macro so that is works with current gcc version.
2016-08-19 14:23:13 +02:00
3019ac3c2c
fixed VC issue with VC
2016-07-30 19:13:29 +08:00
5e4bcebc6f
fixed VC issue with SQ_UNUSED_ARG
2016-07-30 19:13:05 +08:00
e618271e11
add mechanism for configuring squirrel by #including _SQ_CONFIG_INCLUDE, if it exists
2016-07-12 18:06:30 -05:00
2e346b54ac
FIX: no warnings on unused arguments on non-gnu compilers
2016-06-08 21:08:38 +02:00
0961039dd7
change sq_getpstring to sq_getstringandsize
2016-05-15 00:53:11 -05:00
656c6a0d68
add SQPString and sq_getpstring() - an easy way to retrieve strings along with their size, to avoid useless strlens later. it's named PString to suggest that it's like a pascal-style PSTring, prefixed with the length--that's basically what it is.
2016-05-10 20:56:46 -05:00
72135d9a7f
SQStream should have a virtual dtor, to shut up warnings and probably for some good reason but i dont know
2016-04-20 21:05:06 -05:00
82241dd6a4
changes some version related numbers
2016-03-22 22:14:10 +08:00
d9ce07f065
Merge branch master
2016-03-08 13:59:33 +01:00
2fb3522470
Various improvements
2016-03-06 19:43:57 +01:00
026671b3d5
Silence some pedantic compilation warnings.
2016-03-06 15:49:46 +01:00
0378c7016f
Normalize whitespace.
...
Convert files to Unix EOL mode, de-tabify and strip trailing whitespace.
2016-02-15 20:51:20 +01:00
85dfe4b676
first commit
2015-12-22 03:14:21 +08:00