mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-20 17:17:13 +02:00
Some changes on user options.
This commit is contained in:
module
@ -298,6 +298,14 @@ String & NullString()
|
||||
return s;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
String & StringRef(const SQChar * str)
|
||||
{
|
||||
static String s;
|
||||
s.assign(str);
|
||||
return s;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
CSStr ConvNum< Int8 >::ToStr(Int8 v)
|
||||
{
|
||||
|
@ -137,6 +137,11 @@ Function & NullFunction();
|
||||
*/
|
||||
String & NullString();
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve a reference to a static string with a specific value.
|
||||
*/
|
||||
String & StringRef(const SQChar * str);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Compute the next power of two for the specified number.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user