mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Get ctypes working on the Alpha (Tru64). The problem was that there
were two module_methods and the one used depended on the order the modules were loaded. By making the test module_methods static, it is not exported and the correct version is picked up.
This commit is contained in:
parent
c11cecf3d0
commit
ed0a593a10
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ DL_EXPORT(int) unpack_bitfields(struct BITS *bits, char name)
|
|||
return 0;
|
||||
}
|
||||
|
||||
PyMethodDef module_methods[] = {
|
||||
static PyMethodDef module_methods[] = {
|
||||
/* {"get_last_tf_arg_s", get_last_tf_arg_s, METH_NOARGS},
|
||||
{"get_last_tf_arg_u", get_last_tf_arg_u, METH_NOARGS},
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue