Issue #7518: Move substitute definitions of C99 math functions from

pymath.c to Modules/_math.c.
This commit is contained in:
Mark Dickinson 2009-12-21 15:22:00 +00:00
parent 08dca0d6da
commit 12748b003c
8 changed files with 250 additions and 231 deletions

View file

@ -410,9 +410,9 @@ class PyBuildExt(build_ext):
# array objects
exts.append( Extension('array', ['arraymodule.c']) )
# complex math library functions
exts.append( Extension('cmath', ['cmathmodule.c'],
exts.append( Extension('cmath', ['cmathmodule.c', '_math.c'],
depends=['_math.h'],
libraries=math_libs) )
# math library functions, e.g. sin()
exts.append( Extension('math', ['mathmodule.c', '_math.c'],
depends=['_math.h'],