14 Commits

Author SHA1 Message Date
albertodemichelis
3c2de4bd59 added sq_tailcall() 2017-11-17 03:55:35 +08:00
albertodemichelis
a0e46fce11 improved stack cleanup for tailcalls 2017-04-23 03:54:12 +08:00
albertodemichelis
be35cf850b -fixed _set method in userdata deelegates
-fixed some warnings
-sq_gettypetag doesn't set last error(it's treated as SQBool function but keeps a SQRESULT for backward compatibility)
2017-01-02 18:21:41 +08:00
albertodemichelis
16ab1fd6c0 Merge branch 'master' of https://github.com/albertodemichelis/squirrel 2016-05-07 02:38:55 +08:00
albertodemichelis
2aef08d0a5 fixed fallback set
removed some cruft
2016-05-07 02:38:41 +08:00
zeromus
7bb5dd4982 move TARGET and STK to sqvm.cpp instead of SQ to reduce probability of collisions in case inner headers are included 2016-05-05 10:23:55 -05:00
Sandu Liviu Catalin
692d4958e8 Remove empty statement. 2016-04-28 00:06:57 +03:00
zeromus
953d9e9771 fix typo in error messages: "stack overflow, cannot resize stack while in a metamethod" 2016-04-14 18:17:45 -05:00
Fabian Wolff
2fb3522470 Various improvements 2016-03-06 19:43:57 +01:00
Markus F.X.J. Oberhumer
ec36322140 Improve const-correctness.
This avoids some pedantic compiler warnings and also removes any
non-shared data from the squirrel core.

Before:

  size --totals sqstdlib/*.o squirrel/*.o
     text    data     bss     dec     hex filename
   261270    3776       0  265046   40b56 (TOTALS)

After:

  size --totals sqstdlib/*.o squirrel/*.o
     text    data     bss     dec     hex filename
   265046       0       0  265046   40b56 (TOTALS)
2016-02-22 22:15:31 +01:00
Markus F.X.J. Oberhumer
0378c7016f Normalize whitespace.
Convert files to Unix EOL mode, de-tabify and strip trailing whitespace.
2016-02-15 20:51:20 +01:00
albertodemichelis
887f121555 overflow fix in modulo and division 2016-01-26 00:01:26 +08:00
Peter Hartley
d23b238093 Ensure class constructors are functions 2016-01-24 01:17:37 +08:00
albertodemichelis
85dfe4b676 first commit 2015-12-22 03:14:21 +08:00