the C header file when extending CPython

Ulrich Eckhardt doomster at knuut.de
Wed Jan 12 01:36:21 EST 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




More information about the Python-list mailing list