]> granicus.if.org Git - python/commit
This refactoring should make it easier to add new calling conventions.
authorThomas Heller <theller@ctypes.org>
Tue, 3 Feb 2009 17:07:40 +0000 (17:07 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 3 Feb 2009 17:07:40 +0000 (17:07 +0000)
commit7757d7bb510f820b49b085293e8bf8b244723853
tree4fac101036bca2ddfca5b04fa8cbe89ae883f725
parent1797b7dbbcc6d9db1ad51ca7e771f5a7e37299f5
This refactoring should make it easier to add new calling conventions.

Replace ffi_call_STDCALL and ffi_call_SYSV by a ffi_call_x86 function
that cleans up the stack when FFI_SYSV is used, and does nothing for
FFI_STDCALL.

Remove libffi_msvc\win32.S, which is out of date and also unused; it
was only used for building ctypes with the MingW compiler.
Modules/_ctypes/libffi_msvc/ffi.c
Modules/_ctypes/libffi_msvc/win32.S [deleted file]
Modules/_ctypes/libffi_msvc/win32.c