#12 Allow init of multiple adapters in swig

open
nobody
None
5
2012-09-14
2005-11-26
No

This patch changes the parsing of the init string for
scripting languages.

In python for example, you can now do:

ow.init('u u2')
or
ow.init('u,u2')
or
ow('u,/dev...')
or
etc...

To init more than one adapter (or server?).

Before that, a call like ow.init('u u2') initialized
nothing, because OW_ArgGeneric had been called then.

I've tested it only with python.

Hope you like it :-)

Discussion

  • Tiziano Müller

    Tiziano Müller - 2005-11-26

    Multiple Devices SWIG Patch

     
  • Paul Alfille

    Paul Alfille - 2006-09-10

    Logged In: YES
    user_id=123146

    Full command line syntax now accepted in "init", including
    con figuration files

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks