[issue3102] ctypes defines global symbols

Thomas Heller report at bugs.python.org
Tue Apr 7 22:05:03 CEST 2009


Thomas Heller <theller at ctypes.org> added the comment:

I think simple renaming would be fine.

I do not see how module_methods could be made static; however, the
init_callbacks_in_module function should probably be removed completely.

Some other symbols could be made static because they are only used in a
single source file, Array_Type and CData_Type for example (there may be
more).

For MallocClosure/FreeClosure and the fedoraproject patch: Where does
ffi_closure_alloc and ffi_closure_free come from?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3102>
_______________________________________


More information about the Python-bugs-list mailing list