cpython/Modules/_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
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi I don't know how that happend, but the entire file contents was 2006-06-12 06:05:57 +00:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc Fixes so that _ctypes can be compiled with the MingW compiler. 2006-07-03 08:04:05 +00:00
_ctypes.c Protect the thread api calls in the _ctypes extension module within 2006-06-29 18:34:15 +00:00
_ctypes_test.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c Protect the thread api calls in the _ctypes extension module within 2006-06-29 18:34:15 +00:00
callproc.c Add a new function uses_seh() to the _ctypes extension module. This 2006-07-03 08:08:14 +00:00
cfield.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
ctypes.h Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
ctypes_dlfcn.h Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
malloc_closure.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
stgdict.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00