the C header file when extending CPython

Discussion in 'Python' started by Yingjie Lan, Jan 12, 2011.

  1. Yingjie Lan

    Yingjie Lan Guest

    Hi,

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

    Thanks,

    Yingjie
     
    Yingjie Lan, Jan 12, 2011
    #1
    1. Advertising

  2. 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
     
    Ulrich Eckhardt, Jan 12, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Newsgroup - Ann
    Replies:
    4
    Views:
    729
    lilburne
    Nov 2, 2003
  2. York
    Replies:
    1
    Views:
    380
    Chris Liechti
    Sep 10, 2003
  3. Boris Boutillier

    Compiling a CPython library on Mac OSX

    Boris Boutillier, Dec 12, 2003, in forum: Python
    Replies:
    3
    Views:
    393
  4. Bit byte
    Replies:
    1
    Views:
    669
    benben
    Apr 19, 2006
  5. mlt
    Replies:
    2
    Views:
    881
    Jean-Marc Bourguet
    Jan 31, 2009
Loading...

Share This Page