diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-07-07 22:49:30 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-07-07 22:49:30 (GMT) |
commit | 1eee8e5207bbf1765492b6cd415fc0898bde5e43 (patch) | |
tree | ac6c467ab79f5cd01c980435aaa00668e431ecb2 /Include | |
parent | db5f8fcde69d7f16261cfd763cd74a7e5e2d1383 (diff) | |
download | cpython-1eee8e5207bbf1765492b6cd415fc0898bde5e43.zip cpython-1eee8e5207bbf1765492b6cd415fc0898bde5e43.tar.gz cpython-1eee8e5207bbf1765492b6cd415fc0898bde5e43.tar.bz2 |
Issue #21803: remove macro indirections in complexobject.h
Diffstat (limited to 'Include')
-rw-r--r-- | Include/complexobject.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/Include/complexobject.h b/Include/complexobject.h index 1934f3b..cb8c52c 100644 --- a/Include/complexobject.h +++ b/Include/complexobject.h @@ -14,21 +14,13 @@ typedef struct { /* Operations on complex numbers from complexmodule.c */ -#define c_sum _Py_c_sum -#define c_diff _Py_c_diff -#define c_neg _Py_c_neg -#define c_prod _Py_c_prod -#define c_quot _Py_c_quot -#define c_pow _Py_c_pow -#define c_abs _Py_c_abs - -PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex); -PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex); -PyAPI_FUNC(Py_complex) c_neg(Py_complex); -PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex); -PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex); -PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex); -PyAPI_FUNC(double) c_abs(Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex); +PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex); +PyAPI_FUNC(double) _Py_c_abs(Py_complex); #endif /* Complex object interface */ |