[petsc-dev] PetscFindInt

Jed Brown jedbrown at mcs.anl.gov
Sat Sep 22 16:36:49 CDT 2012


On Sat, Sep 22, 2012 at 4:10 PM, Matthew Knepley <knepley at gmail.com> wrote:

> I am fine with overloading the return value. It won't change how I use it.


http://petsc.cs.iit.edu/petsc/petsc-dev/rev/4abec2d5e3ad

It's a shame we can't have C99-style "inline" semantics. I'd like to give
the compiler the option of inlining it, but I don't know how to do Fortran
bindings for that (other than write it custom) if I make it a
PETSC_STATIC_INLINE. Oh well, that can wait.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120922/f37cd320/attachment.html>


More information about the petsc-dev mailing list