Fix deprecations and errors for SWIG 2.0.11
authorSathishkumar Natesan <sathish.n@imaginea.com>
Thu, 3 Oct 2013 12:23:32 +0000 (17:53 +0530)
committerSathishkumar Natesan <sathish.n@imaginea.com>
Thu, 3 Oct 2013 12:23:32 +0000 (17:53 +0530)
commit9520186ad2f012403b7d79408ead313042596dd6
tree32b0e7c5efdbf1afed79ed625004049cb0e5d771
parent1cfa8907164c5f38620e470dccf6f48e0cb088f7
Fix deprecations and errors for SWIG 2.0.11

Extending a `struct` with its `typedef` name is deprecated as of SWIG 2.0.5.
We should use the struct name directly, even for constructors and destructors

Its not applicable for anonymous structs (of-course)
ruby/ohcount.i