Note also that there was essentially the very same question on this list just a few days ago. At the time, there were many answers and quite a discussion... Hope you can find the list archive at scipy.org. -Sebastian
On 7/29/07, Matthieu Brucher <[EMAIL PROTECTED]> wrote: > Hi, > > The simplest way of doing this is with ctypes : > http://scipy.org/Cookbook/Ctypes > > Matthieu > > > 2007/7/24, computer_guy < [EMAIL PROTECTED]>: > > > Hi Everyone, > > > > I am going to write some external C functions that takes in numpy > > arrays as parameters and return numpy arrays. I have the following > > questions: > > > > 1. What should I do in my C code? > > 2. Can I use any C compiler to build my library that takes numpy > > arrays? I am using Windows XP and Visual Studio 2005. > > 3. How can I generate the python binding? > > > > Thanks, > > cg > > > > _______________________________________________ > > Numpy-discussion mailing list > > [email protected] > > http://projects.scipy.org/mailman/listinfo/numpy-discussion > > > > > _______________________________________________ > Numpy-discussion mailing list > [email protected] > http://projects.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
