good example of C extension for Mac OS X

MrJean1 MrJean1 at gmail.com
Sat Oct 27 21:17:23 EDT 2007


You will need to download the MacOS X version from

  <http://www.python.org/download/releases/2.5.1/>.

It contains the source code.

/Jean Brouwers


On Oct 27, 12:31 pm, chewie54 <dfabrizi... at gmail.com> wrote:
> On Oct 27, 2:59 pm, MrJean1 <MrJe... at gmail.com> wrote:
>
> > There is a C template in file Modules/xxmodule.c in Python 2.5, maybe
> > earlier.
>
> > /Jean Brouwers
>
> > On Oct 27, 8:11 am, chewie54 <dfabrizi... at gmail.com> wrote:
>
> > > Hi All,
>
> > > Does anyone now of a good example to use as template for a  C program
> > > extension that needs to be built on the Mac OS X.
>
> > > Thanks,
>
> I have looked at the docs on the python.org but specifically looking
> for
> examples showing how to deal with linked lists and more about when to
> use
> references Py_INCREF and Py_DECREF
>
> I didn't find Modules/xxmodule.c on my Mac OS X installation.
>
> Thanks again





More information about the Python-list mailing list