|
From: Leonardo B. <l.b...@ou...> - 2014-06-05 09:07:23
|
Hi all, I’m trying to update my bindings to Swig 3.X , but it seems that , casting to a bool value from an integer is no longer automatic neither accepted. Example: While previously I was able to invoke my module function (setStatus(bool)) in that way: MyModule.setStatus(1) now this is no longer possible and produces an exception. I need to explicitly call: MyModule.setStatus(True) Is it possible to revert back to the previous configuration, using a typemap or whatever else ? Thanks for any hint available ! |