cpython/Lib/ctypes
Thomas Heller f780be4239 Add a new function uses_seh() to the _ctypes extension module. This
will return True if Windows Structured Exception handling (SEH) is
used when calling functions, False otherwise.

Currently, only MSVC supports SEH.

Fix the test so that it doesn't crash when run with MingW compiled
_ctypes.  Note that two tests are still failing when mingw is used, I
suspect structure layout differences and function calling conventions
between MSVC and MingW.
2006-07-03 08:08:14 +00:00
..
macholib Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
test Add a new function uses_seh() to the _ctypes extension module. This 2006-07-03 08:08:14 +00:00
__init__.py Fix docstring. 2006-06-14 06:18:15 +00:00
_endian.py Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
util.py Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
wintypes.py Add an __all__ list, since this module does 'from ctypes import *'. 2006-06-14 09:20:11 +00:00