mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Forward box2d asserts to exception, then catch those in the new* functions
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
#include "wrap_WheelJoint.h"
|
||||
#include "wrap_RopeJoint.h"
|
||||
|
||||
#define ASSERT_GUARD(A) try { A } catch (love::Exception & e) { return luaL_error(L, e.what()); }
|
||||
|
||||
namespace love
|
||||
{
|
||||
namespace physics
|
||||
|
||||
Reference in New Issue
Block a user