Lisandro Dalcin wrote: > I need to return a MPI_Comm value, and MPI_Comm can be > anything (well, it usually is an integer or a pointer, depending on > the implementation).
If it's actually a struct, then you're in trouble, because an exception value has to be something comparable with == in C, and you can't do that with structs. If it's a scalar type, you can probably tell Pyrex that it's an int and use an enum for the exception value. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
