471,337 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

good example of C extension for Mac OS X

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,

Oct 27 '07 #1
4 1358
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...@gmail.comwrote:
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,

Oct 27 '07 #2
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...@gmail.comwrote:
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,

Oct 27 '07 #3
On Oct 27, 2:59 pm, MrJean1 <MrJe...@gmail.comwrote:
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...@gmail.comwrote:
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

Oct 27 '07 #4
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...@gmail.comwrote:
On Oct 27, 2:59 pm, MrJean1 <MrJe...@gmail.comwrote:
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...@gmail.comwrote:
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

Oct 28 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Coder Droid | last post: by
28 posts views Thread by David MacQuigg | last post: by
3 posts views Thread by Andy Dingley | last post: by
9 posts views Thread by raylopez99 | last post: by
159 posts views Thread by bernard | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.