/** int midi::Out::port() const * include/midi/Out.h:59 */ static int Out_port(lua_State *L) { try { Out *self = *((Out **)dub_checksdata(L, 1, "midi.Out")); lua_pushnumber(L, self->port()); return 1; } catch (std::exception &e) { lua_pushfstring(L, "port: %s", e.what()); } catch (...) { lua_pushfstring(L, "port: Unknown exception"); } return dub_error(L); }