Re: C++ and gtk-doc
- From: Damon Chaplin <damon karuna uklinux net>
- To: Jonathan Blandford <jrb redhat com>
- Cc: gtk-doc-list gnome org
- Subject: Re: C++ and gtk-doc
- Date: Fri, 09 Dec 2005 14:50:35 +0000
On Sun, 2005-12-04 at 13:20 -0500, Jonathan Blandford wrote:
> On Sun, 2005-12-04 at 11:57 +0000, Damon Chaplin wrote:
> > On Sun, 2005-12-04 at 03:12 -0500, Jonathan Blandford wrote:
> > > Hi,
> > >
> > > gtk-doc doesn't seem to scan C++ files. I don't know what C++ will do
> > > to gtk-doc, but it seems to at least try the files with this patch.
> >
> > gtk-doc is only designed to handle C at present.
> >
> > It would probably need quite a bit of work to understand all the extra
> > C++ syntax.
> >
> > I think gtkmm uses doxygen, so you should probably follow them.
>
> This is for the poppler glib wrapper, which is primarily written in C,
> but links to a C++ library. It makes a very small number of C++ calls,
> and thus must be in that language. gtk-doc seems to parse it alright if
> I use this patch.
I'd take a patch that added an option like "--source-suffixes=c,h,cc".
But I don't really like the idea of just scanning .cc files as well by
default. (What about .C files or .cpp files?)
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]