[petsc-dev] Compliant C89

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 14 13:44:52 CST 2013


On Mon, Jan 14, 2013 at 1:39 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>   I thought we agreed that we were moving away from using Macros whenever
> possible, so since the right thing to do PEYSc style is PetscErrorCode
> PetscBLASIntCast(PetscInt,PetscBLASInt*); then we should just do it with
> inline functions the right way.
>

Yup, the macro choice here would just be syntactically lighter and
obviously compile out to nothing. Inline function is fine, I can probably
do the update more-or-less with perl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130114/7e2dc8b7/attachment.html>


More information about the petsc-dev mailing list