[bindings] fix method signature, was breaking C# with swig 1.3.39, 1.3.40