Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > the C header file when extending CPython

Reply
Thread Tools

the C header file when extending CPython

 
 
Yingjie Lan
Guest
Posts: n/a
 
      01-12-2011
Hi,

I am wondering when extending Python (CPython), what should be put into the C
header file? Any guidelines?

Thanks,

Yingjie




 
Reply With Quote
 
 
 
 
Ulrich Eckhardt
Guest
Posts: n/a
 
      01-12-2011
Yingjie Lan wrote:
> I am wondering when extending Python (CPython), what should be put into
> the C header file? Any guidelines?


You don't even need to write a header file at all. There are no Python-
specific requirements to put anything into a header file, though you might
want to do so for reasons internal to your project.

Uli

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
Auto-generating C header file from C++ header? Bit byte C++ 1 04-19-2006 01:40 AM
What is better /standard for creating files. a cpp file with header or cpp and seperate file for header DrUg13 C++ 1 02-10-2004 09:20 AM
how to avoid using another header file inside a header file? Newsgroup - Ann C++ 4 11-02-2003 01:20 PM
Same GUI in both CPython and Jython? York Python 1 09-10-2003 06:25 PM



Advertisments