Hi, 

I have a function that returns    std::tr1::shared_ptr<FunctionSpace>.
In Python, this turns out to be an object with type 'PySwigObject'. 
Hence, I cannot put it into eg. 'TestFunction'. 
Anyone knows how to tell SWIG the type of these shared pointers ? 
The dolfin_shared_ptr_classes.i file has been included long 
before the function that returns the shared pointer appear
in the .i file. 

Kent

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to