<div dir="ltr"><div class="gmail_extra">On Mon, Jan 14, 2013 at 1:29 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> PetscErrorCode PetscBLASIntCast(PetscInt,PetscBLASInt*);<br>
<br>
</div>   Ugly…. man, but I guess the right thing to do.</blockquote></div><br>We can put it in a macro, but still use argument passing, i.e.,</div><div class="gmail_extra"><br></div><div class="gmail_extra" style>#define PetscBLASIntCast(pint,blasint) do { ... } while (0)</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>which will now not be allowed in declarations, but still be syntactically lighter.</div></div>