1
0
forked from aniani/vim

patch 8.2.1883: compiler warnings when using Python

Problem:    Compiler warnings when using Python.
Solution:   Adjust PyCFunction to also have the second argument.  Use "int"
            return type for some functions.  Insert "(void *)" to get rid of
            the remaining warnings.
This commit is contained in:
Bram Moolenaar
2020-10-21 21:01:59 +02:00
parent c58f5456e5
commit 4ce5fe4c87
4 changed files with 55 additions and 50 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1883,
/**/
1882,
/**/