Re: [Pyobjc-dev] Wrapping GetLocationID from IOUSBLib
Brought to you by:
ronaldoussoren
From: Orestis M. <or...@or...> - 2009-06-23 08:49:11
|
On 23 Jun 2009, at 11:36, Ronald Oussoren wrote: > > On 23 Jun, 2009, at 10:18, Brendan Simon (eTRIX) wrote: > >> Brendan Simon (eTRIX) wrote: >>> If IOKit support was added to PyObjC that would be really really >>> useful :) >> Errrr, as previously stated, IOKit is written in C so PyObjC is not >> relevant. Sorry -- my bad. > > That's not quite true: IOKit seems to expose an CoreFoundation based > API, which is PyObjC territory. It's rather unlikely that I'll get > around to adding IOKit support anytime soon though because I don't use > IOKit myself and adding support will be a lot of work. Is there a way to make ctypes and CF play together? I think that if this gets added to PyObjC then people needing to access low-level stuff from Python could do it themselves (for the bits they need). That's probably smaller in focus and more enabling than wrapping a C based framework that only a few people will use. |