Mercurial > vim
comparison src/if_python.c @ 4321:d8d9c591c50f v7.3.910
updated for version 7.3.910
Problem: Python code in #ifdef branches with only minor differences.
Solution: Merge the #ifdef branches. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 24 Apr 2013 13:47:45 +0200 |
parents | b79f3c3a584c |
children | f1eab4f77a6f |
comparison
equal
deleted
inserted
replaced
4320:4c7931bbf78a | 4321:d8d9c591c50f |
---|---|
57 #endif | 57 #endif |
58 | 58 |
59 static void init_structs(void); | 59 static void init_structs(void); |
60 | 60 |
61 #define PyBytes_FromString PyString_FromString | 61 #define PyBytes_FromString PyString_FromString |
62 #define PyBytes_Check PyString_Check | |
62 | 63 |
63 /* No-op conversion functions, use with care! */ | 64 /* No-op conversion functions, use with care! */ |
64 #define PyString_AsBytes(obj) (obj) | 65 #define PyString_AsBytes(obj) (obj) |
65 #define PyString_FreeBytes(obj) | 66 #define PyString_FreeBytes(obj) |
66 | 67 |