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

updated for version 7.4.228

Problem:    Compiler warnings when building with Python 3.2.
Solution:   Make type cast depend on Python version. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2014-03-30 16:11:43 +02:00
parent 498af70e06
commit 922a4664fe
4 changed files with 21 additions and 7 deletions

View File

@@ -803,6 +803,8 @@ py_memsave(void *p, size_t len)
# define PY_STRSAVE(s) ((char_u *) py_memsave(s, STRLEN(s) + 1))
#endif
typedef PySliceObject PySliceObject_T;
/*
* Include the code shared with if_python3.c
*/