The python bindings generator handles typedefs intelligently