/** int QWidget::height() * bind/QWidget.h:15 */ static int LineEdit_height(lua_State *L) { try { LineEdit *self = *((LineEdit **)dub_checksdata(L, 1, "mimas.LineEdit")); lua_pushnumber(L, self->height()); return 1; } catch (std::exception &e) { lua_pushfstring(L, "height: %s", e.what()); } catch (...) { lua_pushfstring(L, "height: Unknown exception"); } return dub_error(L); }