Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1234 clientdata in SWIG_InitializedModule python

closed
python (259)
5
2012-08-15
2012-04-15
Anonymous
No

I wrote some sample code for c and python.
And I run swig for python.

http://tedslang.blogspot.com/2012/04/swig.html

I commented swig generated source file as /* SWIG_InitializeModule clientdata */

clientdata = clientdata

I think that shoud be:

swig_module.clientdata = clientdata;

Thank you.

Discussion

  • William Fulton
    William Fulton
    2012-04-28

    No this checkin (rev 6978) was to silence an unused variable warning in some target languages. We now have the SWIGUNUSEDPARM macro which ought to be used instead.

     
  • William Fulton
    William Fulton
    2012-08-15

    Updatedd to use SWIGUNUSEDPARM for swig-2.0.8.

     
  • William Fulton
    William Fulton
    2012-08-15

    • assigned_to: nobody --> wsfulton
    • status: open --> closed