On Fri, 25 Jun 2010 18:53:48 +0800, Matthew Knepley <knepley at gmail.com> 
wrote:
> No cast needed in straight C :)

Assuming you like warnings.  Of course you can make a macro that does
the cast and forwards to a real function, but that's not how the
PetscObject* API currently works.

Jed

Reply via email to