*.c: Separate string function calls according to text/binary usage.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 21 Oct 2019 01:38:59 +0000 (02:38 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:21 +0000 (12:44 +0100)
commite0a7dece879cf5f6ea6e36899214e95c27f8085b
treee7e07936da38ba6ed1ceafe924321628cbbc5304
parent7e18a150da6ebba51ca22fbe65f12c023def4b13
*.c: Separate string function calls according to text/binary usage.

Don't use the `PyString_...' functions directly.  Instead, define two
collections of macros `TEXT_...' and `BIN_...', which can be used on
text and binary strings respectively.  The two sets are slightly
different, because they've been designed to adapt to Python 3's
different interfaces.

There are no `PyString...' calls remaining outside of these macros.
pyke.c
pyke.h