[gnome-db] nitpick: gda_stringify: why parameter not const



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]