[petsc-dev] Barry doesn't like typedefs for function pointers

Karl Rupp rupp at mcs.anl.gov
Sun Jan 13 22:32:22 CST 2013


Hi,

alright, should I add the following items to the developer manual (style 
guide) then?

a) No typedefs on function pointers
b) Use of _Internal/_Private/_Static for non-public functions. I think 
we haven't agreed on a final scheme yet.
c) Special case: Comparison with zero for PetscScalar (Recall the 
special case
   if (x == 0) { ... }
whenever x is complex...

Best regards,
Karli


On 01/13/2013 10:00 PM, Barry Smith wrote:
>
>    ... please don't introduce new ones in the future.
>
>      Thanks
>
>       Barry
>




More information about the petsc-dev mailing list