ctypes and cygwin

W

wander.lairson

Hello,

I was trying to use the libusb 1.0 with cygwin environments and
noticed that this library uses stdcall calling convention, but ctypes
does not have WinDLL object for cygwin. As far as I know, libusb
builds with stdcall calling convention on cygwin by default. My
question is if ctypes should have WinDLL in cygwin or cygwin, as a
kind of emulation of Unix, considers everything to be cdecl and libusb
guys should change their default build behavior in cygwin.

Not sure if this is the right place to ask this question, but if
ctypes guy(s) took out WinDLL from cygwin, I believe he (they) had a
good reason to do so...

--
Best Regards,
Wander Lairson Costa
LCoN - Laboratório de Computação Natural - Natural Computing Laboratory
(http://www.mackenzie.com.br/lcon.html)
Programa de Pós-Graduação em Engenharia Elétrica (PPGEE)
Faculdade de Computação e Informática (FCI)
Universidade Presbiteriana Mackenzie - SP - Brazil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

array and strings in Python 3 0
PyUSB 1.0.0 alpha 1 release 0
PyPi question 0
stdcall and __cdecl 3

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top