Calling a python method from C/C++, and extracting its return value Calling a python method from C/C++, and extracting its return value c c