File tree Expand file tree Collapse file tree 6 files changed +26
-1
lines changed Expand file tree Collapse file tree 6 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 159159@MODULE__XXTESTFUZZ_TRUE@_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
160160@MODULE__TESTBUFFER_TRUE@_testbuffer _testbuffer.c
161161@MODULE__TESTINTERNALCAPI_TRUE@_testinternalcapi _testinternalcapi.c _testinternalcapi/test_lock.c _testinternalcapi/pytime.c _testinternalcapi/set.c
162- @MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c _testcapi/abstract.c _testcapi/bytearray.c _testcapi/bytes.c _testcapi/unicode.c _testcapi/dict.c _testcapi/set.c _testcapi/list.c _testcapi/tuple.c _testcapi/getargs.c _testcapi/datetime.c _testcapi/docstring.c _testcapi/mem.c _testcapi/watchers.c _testcapi/long.c _testcapi/float.c _testcapi/complex.c _testcapi/numbers.c _testcapi/structmember.c _testcapi/exceptions.c _testcapi/code.c _testcapi/buffer.c _testcapi/pyatomic.c _testcapi/pyos.c _testcapi/file.c _testcapi/immortal.c _testcapi/heaptype_relative.c _testcapi/gc.c _testcapi/sys.c
162+ @MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c _testcapi/abstract.c _testcapi/bytearray.c _testcapi/bytes.c _testcapi/unicode.c _testcapi/dict.c _testcapi/set.c _testcapi/list.c _testcapi/tuple.c _testcapi/getargs.c _testcapi/datetime.c _testcapi/docstring.c _testcapi/mem.c _testcapi/watchers.c _testcapi/long.c _testcapi/float.c _testcapi/complex.c _testcapi/numbers.c _testcapi/structmember.c _testcapi/exceptions.c _testcapi/code.c _testcapi/buffer.c _testcapi/pyatomic.c _testcapi/pyos.c _testcapi/file.c _testcapi/codec.c _testcapi/ immortal.c _testcapi/heaptype_relative.c _testcapi/gc.c _testcapi/sys.c
163163@MODULE__TESTCLINIC_TRUE@_testclinic _testclinic.c
164164@MODULE__TESTCLINIC_LIMITED_TRUE@_testclinic_limited _testclinic_limited.c
165165
Original file line number Diff line number Diff line change 1+ #include "parts.h"
2+ #include "util.h"
3+
4+
5+ static PyMethodDef test_methods [] = {
6+ {NULL },
7+ };
8+
9+ int
10+ _PyTestCapi_Init_Codec (PyObject * m )
11+ {
12+ if (PyModule_AddFunctions (m , test_methods ) < 0 ){
13+ return -1 ;
14+ }
15+
16+ return 0 ;
17+ }
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ int _PyTestCapi_Init_Buffer(PyObject *module);
5454int _PyTestCapi_Init_PyAtomic (PyObject * module );
5555int _PyTestCapi_Init_PyOS (PyObject * module );
5656int _PyTestCapi_Init_File (PyObject * module );
57+ int _PyTestCapi_Init_Codec (PyObject * module );
5758int _PyTestCapi_Init_Immortal (PyObject * module );
5859int _PyTestCapi_Init_GC (PyObject * module );
5960int _PyTestCapi_Init_Sys (PyObject * module );
Original file line number Diff line number Diff line change @@ -3974,6 +3974,9 @@ PyInit__testcapi(void)
39743974 if (_PyTestCapi_Init_File (m ) < 0 ) {
39753975 return NULL ;
39763976 }
3977+ if (_PyTestCapi_Init_Codec (m ) < 0 ) {
3978+ return NULL ;
3979+ }
39773980 if (_PyTestCapi_Init_Sys (m ) < 0 ) {
39783981 return NULL ;
39793982 }
Original file line number Diff line number Diff line change 122122 <ClCompile Include =" ..\Modules\_testcapi\pyatomic.c" />
123123 <ClCompile Include =" ..\Modules\_testcapi\pyos.c" />
124124 <ClCompile Include =" ..\Modules\_testcapi\file.c" />
125+ <ClCompile Include =" ..\Modules\_testcapi\codec.c" />
125126 <ClCompile Include =" ..\Modules\_testcapi\sys.c" />
126127 <ClCompile Include =" ..\Modules\_testcapi\immortal.c" />
127128 <ClCompile Include =" ..\Modules\_testcapi\gc.c" />
Original file line number Diff line number Diff line change 9696 <ClCompile Include =" ..\Modules\_testcapi\file.c" >
9797 <Filter >Source Files</Filter >
9898 </ClCompile >
99+ <ClCompile Include =" ..\Modules\_testcapi\codec.c" >
100+ <Filter >Source Files</Filter >
101+ </ClCompile >
99102 <ClCompile Include =" ..\Modules\_testcapi\sys.c" >
100103 <Filter >Source Files</Filter >
101104 </ClCompile >
You can’t perform that action at this time.
0 commit comments