C++ SWIG Pyton - problems to create interface file

Discussion in 'Python' started by Steffen Kunze, Jul 27, 2004.

  1. Hello
    I am from Germany and I study Information-Technology (2nd semester).
    Every three month I have a internship at the DLR (German Aerospace
    Center) and in the moment I try to use Python and especially SWIG. My
    problem is to write the interface file. I have big problems to write
    my own interface file. I know that I have to write the headers and the
    functions in there, but I haven`t really found out how. (it´s a cpp
    and a header file, where class, a datatype and different functions are
    defined.)
    Maybe you have time to give me some tips to make an interface file out
    of the files on
    --> http://cruncher.ba-mannheim.de/~s0312424/timedepFlowVis.h and
    http://cruncher.ba-mannheim.de/~s0312424/timedepFlowVis.cpp
    Thank you!!!
    Steffen Kunze, Jul 27, 2004
    #1
    1. Advertising

  2. Steffen Kunze wrote:

    > I know that I have to write the headers and the
    > functions in there, but I haven`t really found out how.


    If you go to the SWIG website there are some good Python examples:

    http://www.swig.org/Doc1.3/Python.html

    work your way through that and things will make a lot more sense.

    Istvan.
    Istvan Albert, Jul 27, 2004
    #2
    1. Advertising

  3. Thanks Istvan, although I have searched in the internet for some hours
    I havn´t found this :)
    Steffen Kunze, Jul 28, 2004
    #3
    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. Stephen VanDahm

    Securing the Pyton Interpreter?

    Stephen VanDahm, Jul 15, 2003, in forum: Python
    Replies:
    6
    Views:
    356
    Vinoo Vasudevan
    Jul 17, 2003
  2. Philippe C. Martin

    parsing pyton code

    Philippe C. Martin, Nov 6, 2004, in forum: Python
    Replies:
    1
    Views:
    342
    Jean Brouwers
    Nov 6, 2004
  3. mike
    Replies:
    3
    Views:
    446
    Christopher De Vries
    Feb 1, 2005
  4. Mark de+la+Fuente

    Is pyton for me?

    Mark de+la+Fuente, Jun 10, 2005, in forum: Python
    Replies:
    11
    Views:
    751
    Mike Meyer
    Jun 11, 2005
  5. Daniel Nogradi
    Replies:
    0
    Views:
    408
    Daniel Nogradi
    May 4, 2006
Loading...

Share This Page