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
bb73f0a8b5
Fix overload name generator not taking into accoun the prefix length.
...
Include a specialized overload forwarder for constructors which don't have a free variable containing the native function pointer.
Reduce code duplication from overload forwarder retriever with variadic templates (might as well just get rid of it in the future since it doesn't appear to do much).
2019-02-17 17:09:32 +02:00
Sandu Liviu Catalin
7934b65de9
Don't compute string length twice.
2019-02-09 19:49:04 +02:00
Sandu Liviu Catalin
d0c8dc3071
Potential fix for missing itoa compile error.
2019-02-09 17:43:27 +02:00
Sandu Liviu Catalin
25bc3ce02c
Remove string stream header. Remove unused variable.
2018-10-31 17:34:23 +02:00
Sandu Liviu Catalin
82c1154c2b
Fix wrapper for overloaded methods that are expected to return a value.
2018-10-28 17:59:41 +02:00
Sandu Liviu Catalin
086eeae7b4
Improve performance in overloaded methods calls by cheating a little and calling the overload directly instead of pushing the parameters back on the stack and performing a regular function call.
2018-10-26 21:56:06 +03:00
Sandu Liviu Catalin
69bc0ba5c2
Don't guess the string size when that information is already available.
2018-10-26 18:54:04 +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
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
fb39d5a300
Significantly reduce the amount of code required to forward calls from scripts to global native functions by using variadic templates.
2018-07-29 19:28:46 +03:00
Sandu Liviu Catalin
5146dce440
Replace retrieval of function parameter count with a variadic template implementation to reduce code size.
2018-07-29 14:41:23 +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