[gnome-db] nitpick: gda_stringify: why parameter not const
- From: Neil Zanella <nzanella gmail com>
- To: GNOME-DB List <gnome-db-list gnome org>
- Subject: [gnome-db] nitpick: gda_stringify: why parameter not const
- Date: Tue, 9 Nov 2004 20:43:33 -0700
Hello,
const GdaValue* gda_data_model_get_value_at (GdaDataModel *model,
gint col,
gint row);
returns a const pointer. So could you please declare:
gda_value_stringify (GdaValue *value);
as:
gda_value_stringify (const GdaValue *value);
That way I can compose the two in one line without a cast.
Const is an all or nothing thing...
Thanks,
Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]