support structures having different values in python
enable warning 4131
enable warning 4244