Mercurial > vim
comparison src/if_python.c @ 5419:46ca8fcee525 v7.4.060
updated for version 7.4.060
Problem: Declaration has wrong return type for PyObject_SetAttrString().
Solution: Use int instead of PyObject. (Andreas Schwab)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 03 Nov 2013 00:28:25 +0100 |
parents | 34c629c3b4ba |
children | ec02e1474bc2 |
comparison
equal
deleted
inserted
replaced
5418:bf49ac406140 | 5419:46ca8fcee525 |
---|---|
357 static int(*dll_PyModule_AddObject)(PyObject *, const char *, PyObject *); | 357 static int(*dll_PyModule_AddObject)(PyObject *, const char *, PyObject *); |
358 static int(*dll_PyRun_SimpleString)(char *); | 358 static int(*dll_PyRun_SimpleString)(char *); |
359 static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *); | 359 static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *); |
360 static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *); | 360 static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *); |
361 static int (*dll_PyObject_HasAttrString)(PyObject *, const char *); | 361 static int (*dll_PyObject_HasAttrString)(PyObject *, const char *); |
362 static PyObject* (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *); | 362 static int (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *); |
363 static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...); | 363 static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...); |
364 static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...); | 364 static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...); |
365 static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *); | 365 static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *); |
366 static PyObject* (*dll_PyObject_Repr)(PyObject *); | 366 static PyObject* (*dll_PyObject_Repr)(PyObject *); |
367 static char*(*dll_PyString_AsString)(PyObject *); | 367 static char*(*dll_PyString_AsString)(PyObject *); |