
Example
#include <PWONumber.h> // class for numbers
#include <PWOSequence.h> // class for tuples
#include <PWOMSequence.h> // class for lists (immutable sequences)
void test_scxx()
{
double a_ = 3.4;
PWONumber a = a_; PWONumber b = 7;
PWONumber c; c = a + b;
PWOList list; list.append(a).append(c).append(b);
PWOTuple tp(list);
for (int i=0; i<tp.len(); i++) {
std::cout << "tp["<<i<<"]="<<double(PWONumber(tp[i]))<<" ";
}
std::cout << std::endl;
PyObject* py_a = (PyObject*) a; // convert to Python C struct
}


