summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-06 06:01:16 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-06-06 12:14:25 +0000
commit03cb50cf58f770c1b09b3ef95b7584821b7ffb72 (patch)
tree71eb8bdc2342d7bbc787cac3f02027837adbdcfe /python/py3compat.h
parentf35239915252e1644134bf0eb55e18540a6d20d9 (diff)
downloadsamba-03cb50cf58f770c1b09b3ef95b7584821b7ffb72.tar.gz
py3: Remove unused PyInt_FromSize_t macro from py3compat.h
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>
Diffstat (limited to 'python/py3compat.h')
-rw-r--r--python/py3compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/py3compat.h b/python/py3compat.h
index c42012f7299..01559980f17 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -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