From e3519a3d603850bdf938d5e04e84654cd22ddb04 Mon Sep 17 00:00:00 2001 From: albertodemichelis Date: Thu, 10 Jun 2021 18:27:49 +0800 Subject: [PATCH] 3.2 in header --- HISTORY | 6 ++++-- include/squirrel.h | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HISTORY b/HISTORY index f8c29e6..d09d9ee 100644 --- a/HISTORY +++ b/HISTORY @@ -1,22 +1,24 @@ ***version 3.2 stable*** +-added new inline bind env syntax for closures -added sq_tailcall -added rawcall keyword -added post call initializer syntax -added table.keys() and table.values() -added table.filter() +-added skipempty in split() -additional parameters in array.map() and array.apply() -additional optional initializer in array.reduce() +-added sqstd_pushstringf and sqstd_throwerrorf -closure.call() is now a "native tailcall" and the invoked function can now be suspended -fixed sq_newmember and sq_rawnewmember properly pop parameters -fixed capturing free variable on for loop counter before a break statement -fixed \u in lexer -various bugfixes - -***version 3.1.1 stable*** -sq_gettypetag doesn't set last error(it's treated as SQBool function but keeps a SQRESULT for backward compatibility) -fixed _set method in userdata delegates -fixed some warnings +***2016-03-27 *** ***version 3.1 stable*** -added slice range for tolower and toupper -added startswith() and endswith() in string lib diff --git a/include/squirrel.h b/include/squirrel.h index 19ed82f..1714e5a 100644 --- a/include/squirrel.h +++ b/include/squirrel.h @@ -65,10 +65,10 @@ struct SQOuter; #include "sqconfig.h" -#define SQUIRREL_VERSION _SC("Squirrel 3.1 stable") -#define SQUIRREL_COPYRIGHT _SC("Copyright (C) 2003-2017 Alberto Demichelis") +#define SQUIRREL_VERSION _SC("Squirrel 3.2 stable") +#define SQUIRREL_COPYRIGHT _SC("Copyright (C) 2003-2021 Alberto Demichelis") #define SQUIRREL_AUTHOR _SC("Alberto Demichelis") -#define SQUIRREL_VERSION_NUMBER 310 +#define SQUIRREL_VERSION_NUMBER 320 #define SQ_VMSTATE_IDLE 0 #define SQ_VMSTATE_RUNNING 1