summaryrefslogtreecommitdiffstats
path: root/PCbuild/_testcapi.vcxproj
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-01 22:27:18 (GMT)
committerGitHub <noreply@github.com>2023-07-01 22:27:18 (GMT)
commit46d77610fc77088bceac720a13d9f2df3a50f29e (patch)
tree73f82577bf72de0a3f9a663fe226707879e91349 /PCbuild/_testcapi.vcxproj
parent822db860eada721742f878653d7ac9364ed8df59 (diff)
downloadcpython-46d77610fc77088bceac720a13d9f2df3a50f29e.zip
cpython-46d77610fc77088bceac720a13d9f2df3a50f29e.tar.gz
cpython-46d77610fc77088bceac720a13d9f2df3a50f29e.tar.bz2
gh-106316: Remove pytime.h header file (#106317)
Remove the "cpython/pytime.h" header file: it only contained private functions. Move functions to the internal pycore_time.h header file. Move tests from _testcapi to _testinternalcapi. Rename also test methods to have the same name than tested C functions. No longer export these functions: * _PyTime_Add() * _PyTime_As100Nanoseconds() * _PyTime_FromMicrosecondsClamp() * _PyTime_FromTimespec() * _PyTime_FromTimeval() * _PyTime_GetPerfCounterWithInfo() * _PyTime_MulDiv()
Diffstat (limited to 'PCbuild/_testcapi.vcxproj')
-rw-r--r--PCbuild/_testcapi.vcxproj3
1 files changed, 1 insertions, 2 deletions
diff --git a/PCbuild/_testcapi.vcxproj b/PCbuild/_testcapi.vcxproj
index 3db9426..de17d74 100644
--- a/PCbuild/_testcapi.vcxproj
+++ b/PCbuild/_testcapi.vcxproj
@@ -100,7 +100,6 @@
<ClCompile Include="..\Modules\_testcapi\heaptype.c" />
<ClCompile Include="..\Modules\_testcapi\heaptype_relative.c" />
<ClCompile Include="..\Modules\_testcapi\unicode.c" />
- <ClCompile Include="..\Modules\_testcapi\pytime.c" />
<ClCompile Include="..\Modules\_testcapi\datetime.c" />
<ClCompile Include="..\Modules\_testcapi\docstring.c" />
<ClCompile Include="..\Modules\_testcapi\mem.c" />
@@ -131,4 +130,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project> \ No newline at end of file
+</Project>