/** void TableView::setGridStyle(int style) * include/mimas/TableView.h:75 */ static int TableView_setGridStyle(lua_State *L) { try { TableView *self = *((TableView **)dub_checksdata(L, 1, "mimas.TableView")); int style = dub_checkint(L, 2); self->setGridStyle(style); return 0; } catch (std::exception &e) { lua_pushfstring(L, "setGridStyle: %s", e.what()); } catch (...) { lua_pushfstring(L, "setGridStyle: Unknown exception"); } return dub_error(L); }