Wrapper module for Linux shared lib

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ernesto

    #1

    Wrapper module for Linux shared lib

    What's the best resource for finding out how to write a wrapper module
    for a shared library file *.so* in Linux?

  • Sybren Stuvel

    #2
    Re: Wrapper module for Linux shared lib

    Ernesto enlightened us with:[color=blue]
    > What's the best resource for finding out how to write a wrapper
    > module for a shared library file *.so* in Linux?[/color]

    The extension documentation on the python website.

    Sybren
    --
    The problem with the world is stupidity. Not saying there should be a
    capital punishment for stupidity, but why don't we just take the
    safety labels off of everything and let the problem solve itself?
    Frank Zappa

    Comment

    • Matt Hammond

      #3
      Re: Wrapper module for Linux shared lib

      On Fri, 16 Sep 2005 15:49:15 +0100, Ernesto <erniedude@gmai l.com> wrote:
      [color=blue]
      > What's the best resource for finding out how to write a wrapper module
      > for a shared library file *.so* in Linux?[/color]

      I thoroughly recommend pyrex ... it was a joy to use:




      --

      | Matt Hammond
      | R&D Engineer, BBC Research & Development, Tadworth, Surrey, UK.
      | http://kamaelia.sf.net/
      | http://www.bbc.co.uk/rd/

      Comment

      • Michele Petrazzo

        #4
        Re: Wrapper module for Linux shared lib

        Ernesto wrote:[color=blue]
        > What's the best resource for finding out how to write a wrapper
        > module for a shared library file *.so* in Linux?
        >[/color]

        If you have only the .so file, not the source, you can use ctypes.
        I work always with it without problems.

        Michele

        Comment

        Working...