Swig 1.4.2 definitions

I have branched these changes, so my original PR is deprecated: https://github.com/borisyankov/DefinitelyTyped/pull/2838.

I have updated the header, as suggested in my original PR, but other than that, nothing has changed since then.