mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Some exception cleanup
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <exception>
|
||||
#include <cstdarg> // vararg
|
||||
#include <cstdio> // vsnprintf
|
||||
#include <cstring> // strncpy
|
||||
|
||||
namespace love
|
||||
{
|
||||
@@ -54,6 +55,7 @@ namespace love
|
||||
* @param fmt The format string (see printf).
|
||||
**/
|
||||
Exception(const char * fmt, ...);
|
||||
Exception(int unparsed, const char * str);
|
||||
|
||||
/**
|
||||
* Returns a string containing reason for the exception.
|
||||
|
||||
Reference in New Issue
Block a user