diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-02-12 18:27:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 18:27:05 (GMT) |
commit | c22bfaae83ab5436d008ac0d13e7b47cbe776f08 (patch) | |
tree | 0d134ee68cbc104bb75aa5405d35ce066d41c0d4 /PCbuild | |
parent | 3110a379bbb1ec10a84d70a2f0faffcf8d22c7ed (diff) | |
download | cpython-c22bfaae83ab5436d008ac0d13e7b47cbe776f08.zip cpython-c22bfaae83ab5436d008ac0d13e7b47cbe776f08.tar.gz cpython-c22bfaae83ab5436d008ac0d13e7b47cbe776f08.tar.bz2 |
bpo-29524: Add Objects/call.c file (#12)
* Move all functions to call objects in a new Objects/call.c file.
* Rename fast_function() to _PyFunction_FastCallKeywords().
* Copy null_error() from Objects/abstract.c
* Inline type_error() in call.c to not have to copy it, it was only
called once.
* Export _PyEval_EvalCodeWithName() since it is now called
from call.c.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 3 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 6b23d8e..c18c174 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -294,9 +294,10 @@ <ClCompile Include="..\Objects\abstract.c" /> <ClCompile Include="..\Objects\accu.c" /> <ClCompile Include="..\Objects\boolobject.c" /> - <ClCompile Include="..\Objects\bytes_methods.c" /> <ClCompile Include="..\Objects\bytearrayobject.c" /> + <ClCompile Include="..\Objects\bytes_methods.c" /> <ClCompile Include="..\Objects\bytesobject.c" /> + <ClCompile Include="..\Objects\call.c" /> <ClCompile Include="..\Objects\capsule.c" /> <ClCompile Include="..\Objects\cellobject.c" /> <ClCompile Include="..\Objects\classobject.c" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index 762210d..65a5b79 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -686,6 +686,9 @@ <ClCompile Include="..\Objects\bytesobject.c"> <Filter>Objects</Filter> </ClCompile> + <ClCompile Include="..\Objects\call.c"> + <Filter>Objects</Filter> + </ClCompile> <ClCompile Include="..\Objects\capsule.c"> <Filter>Objects</Filter> </ClCompile> |