]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
py3: Remove unused PyInt_FromSize_t macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 04:01:16 +0000 (06:01 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:25 +0000 (12:14 +0000)
Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
python/py3compat.h

index c42012f7299a18e9b184e6b57eebf6abbf252e57..01559980f172b75e387573bd7ff4e5ff303d5e35 100644 (file)
@@ -86,7 +86,6 @@
 #define PyInt_Type PyLong_Type
 #define PyInt_Check PyLong_Check
 #define PyInt_FromLong PyLong_FromLong
-#define PyInt_FromSize_t PyLong_FromSize_t
 #define PyInt_AsLong PyLong_AsLong
 #define PyInt_AS_LONG PyLong_AS_LONG
 #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask