...
This commit is contained in:
parent
3a9f540f52
commit
91a68f0089
@ -78,7 +78,7 @@ static inline void historybuf_push(HistoryBuf *self) {
|
|||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
change_num_of_lines(HistoryBuf *self, PyObject *val) {
|
change_num_of_lines(HistoryBuf *self, PyObject *val) {
|
||||||
#define change_num_of_lines_doc "Change the number of lines in thsi buffer"
|
#define change_num_of_lines_doc "Change the number of lines in this buffer"
|
||||||
HistoryBuf t = {0};
|
HistoryBuf t = {0};
|
||||||
t.xnum=self->xnum;
|
t.xnum=self->xnum;
|
||||||
t.ynum=(index_type) PyLong_AsUnsignedLong(val);
|
t.ynum=(index_type) PyLong_AsUnsignedLong(val);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user