mingodad
|
b0de9fb2a6
Changed the prototype of SquiLu extension functions from "SQInteger (*SQFUNCTION)(HSQUIRRELVM)" to "SQRESULT (*SQFUNCTION)(HSQUIRRELVM)" and update all functions to use SQRESULT for consistency.
|
13 anni fa |
mingodad
|
edb1998526
Moved some defines used in sqstdstring.cpp to squirrel.h
|
13 anni fa |
mingodad
|
2fa04324bb
Changed the check on walking through the format string to use it's size instead of find the '\0' char, this allows format string with embedded '\0' chars.
|
13 anni fa |
mingodad
|
b612017840
Moved string functions to delegate
|
13 anni fa |
mingodad
|
f3de8a1a72
Moved macro to header file.
|
13 anni fa |
mingodad
|
78a386f709
If there is a sequence of \r\n eat the \r and emit only \n.
|
13 anni fa |
mingodad
|
cece7487ba
Finally got it to work the lua version escape some chars in a way incompatible with Squirrel, plus arithmetic errors.
|
13 anni fa |
mingodad
|
a9e45c1c7a
Correct a mistake of saving a pointer position inside scratchpad that just before it is reallocated, when the memory returned is not the same it was writing to invalid address.
|
13 anni fa |
mingodad
|
b43f799998
On the implementation of string.gsub make checks on the result of sq_get to not go forward if it doesn't succeed.
|
13 anni fa |
mingodad
|
1829e76e0f
Add a vector to SharedState where to store release hooks to be called when is safe to work with the vm, right now I'm calling it after calls to closures and whe finalizing the vm.
|
13 anni fa |
mingodad
|
542d2e16ee
Add a printf function that uses sq_getprintfunc to print the result of sqstd_format.
|
13 anni fa |
mingodad
|
020c5a401f
Added "%q" from Lua 5.2.1 to format.
|
13 anni fa |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
13 anni fa |