I wrote some sample code for c and python.
And I run swig for python.
I commented swig generated source file as /* SWIG_InitializeModule clientdata */
clientdata = clientdata
I think that shoud be:
swig_module.clientdata = clientdata;
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.
Updatedd to use SWIGUNUSEDPARM for swig-2.0.8.