From d6e391862c58d7c7494b8c4cc65a4b745d7eafe1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 21 May 2013 18:30:34 +0200 Subject: updated for version 7.3.992 Problem: Python: Too many type casts. Solution: Change argument types. (ZyX) --- src/if_python.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/if_python.c') diff --git a/src/if_python.c b/src/if_python.c index a3431b252..7a4fa8ad9 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -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 * -------------------------------------- */ -- cgit v1.2.1