mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-17 14:27:11 +02:00
Implement a formatted Squirrel error throwing utility.
This commit is contained in:
@ -98,6 +98,11 @@ CSStr ToStrF(CCStr str, ...);
|
||||
*/
|
||||
CSStr ToStringF(CCStr str, ...);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Generate a formatted string and throw it as a squirrel exception.
|
||||
*/
|
||||
SQRESULT SqThrowErrorF(HSQUIRRELVM vm, CCStr str, ...);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Simple function to check whether the specified string can be considered as a boolean value
|
||||
*/
|
||||
|
Reference in New Issue
Block a user