Re: [pygame] Adding functions to library

2011-11-16 Thread Luke Paireepinart
Thanks Chris and Rene for the links. Since there's pre-existing cython code and I'd like to get more experience using it, I think I'll try that route first. On Wed, Nov 16, 2011 at 2:41 PM, René Dudfield wrote: > On Wed, Nov 16, 2011 at 9:19 PM, Christopher Arndt > wrote: >> >> On 16.11.2011 17

Re: [pygame] Adding functions to library

2011-11-16 Thread René Dudfield
On Wed, Nov 16, 2011 at 9:19 PM, Christopher Arndt wrote: > On 16.11.2011 17:39, Luke Paireepinart wrote: > >> Quick question, are there any cython extensions in pygame currently? >> or ctypes? or is it purely C? If so, what wrapper is used? >> > > The pyportmidi binding for portmidi, which is w

Re: [pygame] Adding functions to library

2011-11-16 Thread Christopher Arndt
On 16.11.2011 17:39, Luke Paireepinart wrote: Quick question, are there any cython extensions in pygame currently? or ctypes? or is it purely C? If so, what wrapper is used? The pyportmidi binding for portmidi, which is wrapped by pygame.midi is written in Cython. The source file is here:

[pygame] Adding functions to library

2011-11-16 Thread Luke Paireepinart
Quick question, are there any cython extensions in pygame currently? or ctypes? or is it purely C? If so, what wrapper is used? I'm considering writing some extra transform.scale functions for my own use, but I'm not sure what I can target where it would be able to be used in mainline pygame, if