src/squirrel.hpp
branchnoai
changeset 9576 d650eb70a8d0
parent 9539 7416d0694d3a
child 9588 01b2435c977b
equal deleted inserted replaced
9575:a4b6bbfa6c96 9576:d650eb70a8d0
    27 
    27 
    28 	/**
    28 	/**
    29 	 * If a user runs 'print' inside a script, this function gets the params.
    29 	 * If a user runs 'print' inside a script, this function gets the params.
    30 	 */
    30 	 */
    31 	static void PrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
    31 	static void PrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
       
    32 
       
    33 	/**
       
    34 	 * If an error has to be print, this function is called.
       
    35 	 */
       
    36 	static void ErrorPrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
    32 
    37 
    33 public:
    38 public:
    34 	Squirrel();
    39 	Squirrel();
    35 	~Squirrel();
    40 	~Squirrel();
    36 
    41