From 0b400087d076ba1a476d753c019fbfd96d8ae58e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 3 Nov 2013 00:28:25 +0100 Subject: updated for version 7.4.060 Problem: Declaration has wrong return type for PyObject_SetAttrString(). Solution: Use int instead of PyObject. (Andreas Schwab) --- src/if_python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_python.c') diff --git a/src/if_python.c b/src/if_python.c index 6e43b5dc3..e34bd280f 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -359,7 +359,7 @@ static int(*dll_PyRun_SimpleString)(char *); static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *); static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *); static int (*dll_PyObject_HasAttrString)(PyObject *, const char *); -static PyObject* (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *); +static int (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *); static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...); static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...); static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *); -- cgit v1.2.1