1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-14 19:57:17 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
1f27146e6c Back port changes to squirrel library. Separate mdoule speciffic changes and/or additions to squirrel into their own files. 2019-04-24 22:33:42 +03:00
Sandu Liviu Catalin
21a00e20b7 Allow PushVars to work when there are no parameters as well. 2019-03-03 13:38:24 +02:00
Sandu Liviu Catalin
bf9b8e9f5d Allow argument forwarder to return a value. 2018-10-31 20:07:06 +02:00
Sandu Liviu Catalin
f4c8f42852 Include C headers regardless of character encoding selection. 2018-10-31 17:34:56 +02:00
Sandu Liviu Catalin
2b9c8f6550 Fix StackStrF mistaking the free function variable containing the native function wrapper pointer as a user passed parameter.
Also fix StackStrF treating negative indexes as positive indexes.
Make ErrorToException inline instead of static in header.
2018-10-25 19:43:38 +03:00
Sandu Liviu Catalin
d556364ecf Attempt to fix function binding to comply with changes to StackStrF.
Various other changes to fix other issues related to changes in StackStrF behavior.
2018-10-24 21:37:51 +03:00
Sandu Liviu Catalin
464821592c Remove traces of noexcept from the binding library. This would've impaired the exception handling required by the binding system and cause a program termination for even the slightest error that occured from the script. 2018-10-23 21:29:28 +03:00
Sandu Liviu Catalin
e48cb3b43c Fix previous refactor which caused functions with format support to not fallback to dummy values when StackStrF tail arguments were not specified. 2018-07-30 23:00:45 +03:00
Sandu Liviu Catalin
0deb209e7b Refactor the binding library even further to reduce code size and complexity. 2018-07-30 21:44:04 +03:00
Sandu Liviu Catalin
4e31fc478c Multiple fixes for last refactoring. 2018-07-30 01:51:02 +03:00
Sandu Liviu Catalin
f300e7ff4a Massive code reduction in the binding utility by using variadic templates.
Extensive code refactoring surrounding the StackStrF helper to facilitate the new changes.
Various other miscellaneous changes and code refactoring to facilitate the new changes.
2018-07-30 00:58:27 +03:00
Sandu Liviu Catalin
c70f3bfcf2 Update the ArgPop helper to allow sending extra parameters to the last argument.
Fix how StackStrF is handled by Var helper.
2018-07-29 20:24:23 +03:00
Sandu Liviu Catalin
5744eb81d9 Implement ArgPop helper to reduce code duplication when forwarding calls from script to native functions. 2018-07-29 19:27:38 +03:00
Sandu Liviu Catalin
2dcd9ee986 Use a standard implementation to check for type conversion. 2018-07-29 14:35:51 +03:00
Sandu Liviu Catalin
32061463c0 Remove duplicate code in Sqrat Var for the the StackStrF type. 2016-11-17 10:50:40 +02:00
Sandu Liviu Catalin
0137dfc66f Move the plugin Squirrel utilities to the Sqrat binding utility.
Implement registration of functions and methods with string formatting support in the Sqrat binding utility.
Few minor other fixes.
2016-11-16 11:54:07 +02:00
Sandu Liviu Catalin
67d6f54426 Minor optimizations in Sqrat when retrieving script strings. 2016-06-12 13:02:04 +03:00
Sandu Liviu Catalin
f4a11ef825 Separated major non mandatory libraries into their onwn modules.
Consolidated and simplified the module API system.
Various other fixes and improvements.
2016-02-27 11:57:10 +02:00
Sandu Liviu Catalin
fa12692490 Implemented the module system. 2016-02-23 17:48:30 +02:00
Sandu Liviu Catalin
08f7f396c9 Added external Sqrat library. 2015-11-01 10:06:54 +02:00