mirror of https://github.com/python/cpython
Change the ctypes version number to 1.0.0.
This commit is contained in:
parent
a42a662fec
commit
3b9be2ae6f
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
import os as _os, sys as _sys
|
import os as _os, sys as _sys
|
||||||
|
|
||||||
__version__ = "0.9.9.7"
|
__version__ = "1.0.0"
|
||||||
|
|
||||||
from _ctypes import Union, Structure, Array
|
from _ctypes import Union, Structure, Array
|
||||||
from _ctypes import _Pointer
|
from _ctypes import _Pointer
|
||||||
|
|
|
@ -4673,7 +4673,7 @@ init_ctypes(void)
|
||||||
#endif
|
#endif
|
||||||
PyModule_AddObject(m, "FUNCFLAG_CDECL", PyInt_FromLong(FUNCFLAG_CDECL));
|
PyModule_AddObject(m, "FUNCFLAG_CDECL", PyInt_FromLong(FUNCFLAG_CDECL));
|
||||||
PyModule_AddObject(m, "FUNCFLAG_PYTHONAPI", PyInt_FromLong(FUNCFLAG_PYTHONAPI));
|
PyModule_AddObject(m, "FUNCFLAG_PYTHONAPI", PyInt_FromLong(FUNCFLAG_PYTHONAPI));
|
||||||
PyModule_AddStringConstant(m, "__version__", "0.9.9.7");
|
PyModule_AddStringConstant(m, "__version__", "1.0.0");
|
||||||
|
|
||||||
PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove));
|
PyModule_AddObject(m, "_memmove_addr", PyLong_FromVoidPtr(memmove));
|
||||||
PyModule_AddObject(m, "_memset_addr", PyLong_FromVoidPtr(memset));
|
PyModule_AddObject(m, "_memset_addr", PyLong_FromVoidPtr(memset));
|
||||||
|
|
Loading…
Reference in New Issue