0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.992

Problem:    Python: Too many type casts.
Solution:   Change argument types. (ZyX)
This commit is contained in:
Bram Moolenaar
2013-05-21 18:30:34 +02:00
parent b52f4c02e6
commit d6e391862c
4 changed files with 285 additions and 345 deletions

View File

@@ -56,8 +56,6 @@
# define PY_SSIZE_T_CLEAN
#endif
static void init_structs(void);
#define PyBytes_FromString PyString_FromString
#define PyBytes_Check PyString_Check
@@ -659,16 +657,9 @@ static PyObject *FunctionGetattr(PyObject *, char *);
* Internal function prototypes.
*/
static void PythonIO_Flush(void);
static int PythonIO_Init(void);
static int PythonMod_Init(void);
/* Utility functions for the vim/python interface
* ----------------------------------------------
*/
static int SetBufferLineList(buf_T *, PyInt, PyInt, PyObject *, PyInt *);
/******************************************************
* 1. Python interpreter main program.
@@ -1017,9 +1008,6 @@ PythonIO_Init(void)
* 3. Implementation of the Vim module for Python
*/
static PyObject *ConvertToPyObject(typval_T *);
static int ConvertFromPyObject(PyObject *, typval_T *);
/* Window type - Implementation functions
* --------------------------------------
*/