forked from aniani/vim
updated for version 7.0-112
This commit is contained in:
@@ -1463,7 +1463,7 @@ BufferDestructor(PyObject *self)
|
|||||||
if (this->buf && this->buf != INVALID_BUFFER_VALUE)
|
if (this->buf && this->buf != INVALID_BUFFER_VALUE)
|
||||||
this->buf->b_python_ref = NULL;
|
this->buf->b_python_ref = NULL;
|
||||||
|
|
||||||
PyMem_DEL(self);
|
Py_DECREF(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
@@ -1674,7 +1674,7 @@ RangeNew(buf_T *buf, int start, int end)
|
|||||||
bufr = (BufferObject *)BufferNew(buf);
|
bufr = (BufferObject *)BufferNew(buf);
|
||||||
if (bufr == NULL)
|
if (bufr == NULL)
|
||||||
{
|
{
|
||||||
PyMem_DEL(self);
|
Py_DECREF(self);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
Py_INCREF(bufr);
|
Py_INCREF(bufr);
|
||||||
@@ -1690,7 +1690,7 @@ RangeNew(buf_T *buf, int start, int end)
|
|||||||
RangeDestructor(PyObject *self)
|
RangeDestructor(PyObject *self)
|
||||||
{
|
{
|
||||||
Py_DECREF(((RangeObject *)(self))->buf);
|
Py_DECREF(((RangeObject *)(self))->buf);
|
||||||
PyMem_DEL(self);
|
Py_DECREF(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
@@ -1944,7 +1944,7 @@ WindowDestructor(PyObject *self)
|
|||||||
if (this->win && this->win != INVALID_WINDOW_VALUE)
|
if (this->win && this->win != INVALID_WINDOW_VALUE)
|
||||||
this->win->w_python_ref = NULL;
|
this->win->w_python_ref = NULL;
|
||||||
|
|
||||||
PyMem_DEL(self);
|
Py_DECREF(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
112,
|
||||||
/**/
|
/**/
|
||||||
111,
|
111,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user