mirror of
https://github.com/love2d/love-android.git
synced 2026-08-20 04:31:26 +02:00
updated to latest mobile-common (0cf55b7da58e), removed libtiff, libpng, libmng, devil, jasper, jpeg-8d, added libturbo-jpeg
This commit is contained in:
@@ -69,7 +69,7 @@ int w_MotorJoint_setMaxForce(lua_State *L)
|
||||
{
|
||||
MotorJoint *t = luax_checkmotorjoint(L, 1);
|
||||
float arg1 = (float) luaL_checknumber(L, 2);
|
||||
EXCEPT_GUARD(t->setMaxForce(arg1);)
|
||||
luax_catchexcept(L, [&](){ t->setMaxForce(arg1); });
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ int w_MotorJoint_setMaxTorque(lua_State *L)
|
||||
{
|
||||
MotorJoint *t = luax_checkmotorjoint(L, 1);
|
||||
float arg1 = (float) luaL_checknumber(L, 2);
|
||||
EXCEPT_GUARD(t->setMaxTorque(arg1);)
|
||||
luax_catchexcept(L, [&](){ t->setMaxTorque(arg1); });
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ int w_MotorJoint_setCorrectionFactor(lua_State *L)
|
||||
{
|
||||
MotorJoint *t = luax_checkmotorjoint(L, 1);
|
||||
float arg1 = (float) luaL_checknumber(L, 2);
|
||||
EXCEPT_GUARD(t->setCorrectionFactor(arg1);)
|
||||
luax_catchexcept(L, [&](){ t->setCorrectionFactor(arg1); });
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -128,6 +128,8 @@ static const luaL_Reg functions[] =
|
||||
{ "getReactionForce", w_Joint_getReactionForce },
|
||||
{ "getReactionTorque", w_Joint_getReactionTorque },
|
||||
{ "getCollideConnected", w_Joint_getCollideConnected },
|
||||
{ "setUserData", w_Joint_setUserData },
|
||||
{ "getUserData", w_Joint_getUserData },
|
||||
{ "destroy", w_Joint_destroy },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user