<div dir="ltr"><div class="gmail_extra">On Mon, Jan 7, 2013 at 3:29 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</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="gmail_extra">The PetscOptions and PetscInfo functions are examples where we used _Private to</div><div class="gmail_extra">
indicate a lower level interface, rather than one that was truly file scope. I guess we</div>
<div class="gmail_extra">need two different specifiers.</div></blockquote></div><br></div><div class="gmail_extra" style>Most of these are in matimpl.h and vecimpl.h. They should perhaps be called _Internal since they are shared inside PETSc, but not public. We should also change them from PETSC_EXTERN so that we can set visibility=hidden to prevent users from calling them through shared libraries. ;-)</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>I don't have a problem with non-namespaced functions at file local scope, they just have to be renamed if they are ever referenced from elsewhere.<br>
</div></div>