Mercurial > vim
comparison src/if_python.c @ 13353:8412df1479a3 v8.0.1550
patch 8.0.1550: various small problems in source files
commit https://github.com/vim/vim/commit/792f0e36593d1ec13ccb8a622ca5542c500577b4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 27 17:27:13 2018 +0100
patch 8.0.1550: various small problems in source files
Problem: Various small problems in source files.
Solution: Fix the problems.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 27 Feb 2018 17:30:08 +0100 |
parents | 53cc7ea77c54 |
children | 417a01a1aaaa |
comparison
equal
deleted
inserted
replaced
13352:764ce635fdc7 | 13353:8412df1479a3 |
---|---|
72 | 72 |
73 #undef main /* Defined in python.h - aargh */ | 73 #undef main /* Defined in python.h - aargh */ |
74 #undef HAVE_FCNTL_H /* Clash with os_win32.h */ | 74 #undef HAVE_FCNTL_H /* Clash with os_win32.h */ |
75 | 75 |
76 #define PyBytes_FromString PyString_FromString | 76 #define PyBytes_FromString PyString_FromString |
77 #define PyBytes_Check PyString_Check | 77 #define PyBytes_Check PyString_Check |
78 #define PyBytes_AsStringAndSize PyString_AsStringAndSize | 78 #define PyBytes_AsStringAndSize PyString_AsStringAndSize |
79 | 79 |
80 #if !defined(FEAT_PYTHON) && defined(PROTO) | 80 #if !defined(FEAT_PYTHON) && defined(PROTO) |
81 /* Use this to be able to generate prototypes without python being used. */ | 81 /* Use this to be able to generate prototypes without python being used. */ |
82 # define PyObject Py_ssize_t | 82 # define PyObject Py_ssize_t |