diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-24 21:36:07 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-24 22:54:20 +0100 |
commit | 57b76983121906710853ea46ebd5089a6f7d40a7 (patch) | |
tree | 0a192922270595525619e4848a90d82325108389 /libs/ardour/lua_api.cc | |
parent | e0e98d45d42d0c79905b661ef7a94059d2087622 (diff) |
Consistent C++ & Lua Namespace/Class names + documentation.
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r-- | libs/ardour/lua_api.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index c8c1217bc2..855172278e 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -151,9 +151,9 @@ ARDOUR::LuaAPI::set_processor_param (boost::shared_ptr<Processor> proc, uint32_t } int -ARDOUR::LuaAPI::LuaOSCAddress::send (lua_State *L) +ARDOUR::LuaOSC::Address::send (lua_State *L) { - LuaOSCAddress * const luaosc = luabridge::Userdata::get <LuaOSCAddress> (L, 1, false); + Address * const luaosc = luabridge::Userdata::get <Address> (L, 1, false); if (!luaosc) { return luaL_error (L, "Invalid pointer to OSC.Address"); } @@ -222,6 +222,6 @@ ARDOUR::LuaAPI::LuaOSCAddress::send (lua_State *L) int rv = lo_send_message (luaosc->_addr, path, msg); lo_message_free (msg); - luabridge::Stack<int>::push (L, rv); + luabridge::Stack<bool>::push (L, (rv == 0)); return 1; } |