X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..30e4ac71eccb745ff3dc7f944ea09936f8ea7f42:/stglibs/common.lib/common.h diff --git a/stglibs/common.lib/common.h b/stglibs/common.lib/common.h index 971a2e72..7761d183 100644 --- a/stglibs/common.lib/common.h +++ b/stglibs/common.lib/common.h @@ -19,8 +19,8 @@ */ /* - $Revision: 1.31 $ - $Date: 2010/11/03 10:26:30 $ + $Revision: 1.32 $ + $Date: 2010/11/08 10:11:19 $ $Author: faust $ */ @@ -215,10 +215,13 @@ const std::string & unsigned2str(varT x, std::string & s) //----------------------------------------------------------------------------- int str2x(const std::string & str, int & x); int str2x(const std::string & str, unsigned & x); +int str2x(const std::string & str, long & x); +int str2x(const std::string & str, unsigned long & x); int str2x(const std::string & str, long long & x); int str2x(const std::string & str, unsigned long long & x); //----------------------------------------------------------------------------- const std::string & x2str(unsigned x, std::string & s); +const std::string & x2str(unsigned long x, std::string & s); const std::string & x2str(unsigned long long x, std::string & s); //----------------------------------------------------------------------------- char * stg_strptime(const char *, const char *, struct tm *);