mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
gh-107211: No longer export internal functions (5) (#108423)
No longer export _PyCompile_AstOptimize() internal C API function. Change comment style to "// comment" and add comment explaining why other functions have to be exported.
This commit is contained in:
parent
f1ae706ca5
commit
b7808820b1
10 changed files with 73 additions and 39 deletions
|
|
@ -10,8 +10,8 @@ extern "C" {
|
|||
|
||||
#include "pycore_unicodeobject.h" // _PyUnicodeWriter
|
||||
|
||||
/* Operations on complex numbers from complexmodule.c */
|
||||
|
||||
// Operations on complex numbers.
|
||||
// Export functions for 'cmath' shared extension.
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue