mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Some exception cleanup
This commit is contained in:
@@ -30,6 +30,11 @@ namespace love
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
Exception::Exception(int unparsed, const char * str)
|
||||
{
|
||||
strncpy(buffer, str, BUFFER_SIZE);
|
||||
}
|
||||
|
||||
const char * Exception::what() const throw()
|
||||
{
|
||||
return (const char *)buffer;
|
||||
|
||||
Reference in New Issue
Block a user