[petsc-dev] Forward declarations of types?
Jed Brown
jedbrown at mcs.anl.gov
Fri Feb 15 16:27:58 CST 2013
On Fri, Feb 15, 2013 at 4:20 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> BTW petscviewer.h included by petscsys.h always includes hdf5.h (when
> PETSc installed with hdf5) because of hsize_t and hid_t are in the public
> API of PETSc viewer for hdf5.
>
> We can either have separate petscviewerhdf5.h or we could include just
> H5public.h and H5Ipublic.h in petscviewer.h to get these beasties defined.
>
> I vote for the first but am fine with the second.
>
I also prefer the first. Very few users of PetscViewer need or want to know
anything about HDF5.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130215/3e1dac55/attachment.html>
More information about the petsc-dev
mailing list