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.
|
hace 13 años |
mingodad
|
edb1998526
Moved some defines used in sqstdstring.cpp to squirrel.h
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
b612017840
Moved string functions to delegate
|
hace 13 años |
mingodad
|
f3de8a1a72
Moved macro to header file.
|
hace 13 años |
mingodad
|
78a386f709
If there is a sequence of \r\n eat the \r and emit only \n.
|
hace 13 años |
mingodad
|
cece7487ba
Finally got it to work the lua version escape some chars in a way incompatible with Squirrel, plus arithmetic errors.
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
542d2e16ee
Add a printf function that uses sq_getprintfunc to print the result of sqstd_format.
|
hace 13 años |
mingodad
|
020c5a401f
Added "%q" from Lua 5.2.1 to format.
|
hace 13 años |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
hace 13 años |