C++ why double pointer for out/return function parameter?
I was looking at this example and thought of how to implement this particular function in Cython.
It is a C++ function which takes a double pointer as an input for the purpose of pass by reference.
void Foo(MyClass **x){
*x = new MyClass();
}
Anyone has any thoughts how it should be wrapped in Cython?