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