SEXP qt_qcolStretch_QGraphicsGridLayout(SEXP rself) { QGraphicsGridLayout *layout = unwrapPointer(rself, QGraphicsGridLayout); SEXP ans = allocVector(INTSXP, layout->columnCount()); for (int i = 0; i < length(ans); i++) { INTEGER(ans)[i] = layout->columnStretchFactor(i); } return ans; }