different parameter names in .h and .c files
- From: Matthias Clasen <maclas gmx de>
- To: gtk-doc-list gnome org
- Subject: different parameter names in .h and .c files
- Date: Mon, 6 May 2002 09:31:51 +0200 (MEST)
I just noted that gtk-doc is not really up to handling them. gtk currently
contains
4 functions where the headers have parameter names like 'klass' or 'cclass'
(to be
C++ clean, I guess), but the sources have 'class'. Since the doc comment
goes with
the source, it naturally uses 'class'. But gtkdoc-scan reads the header
files to find
declarations, thus the header parameter names end up in the templates.
Its probably not worth doing much about this, since fixing the templates
once
is enough, but I thought I mention it anyway.
Owen, should I change the offending four functions to use the same C++-safe
parameters in the implementation (gtk_container_class_find_child_property,
gtk_container_class_list_child_properties,
gtk_widget_class_find_style_property
and gtk_wiget_class_list_style_properties) ?
Matthias
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]