const qualifier in function arguments
- From: Tim Lorenz <tim lorenz nu>
- To: gtk-devel-list gnome org
- Subject: const qualifier in function arguments
- Date: Wed, 30 May 2001 00:05:15 +0200
Hi List,
i don't understand gtk+'s (and related libs) policy of handling
const qualifiers in function arguments. For example there is:
gtk_widget_modify_font(GtkWidget* ,PangoFontDescription* fn)
in gtk-1.3 tree. That function actually doesn't modify 'fn'
and i think it isn't supposed to. Why isn't this expressed
through a const qualifier?
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]