Re: minor api issues
- From: Havoc Pennington <hp redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: "Matthias Clasen" <matthiasc poet de>, <gtk-devel-list gnome org>
- Subject: Re: minor api issues
- Date: 01 Oct 2001 11:27:21 -0400
Owen Taylor <otaylor redhat com> writes:
> gboolean foo (const char *a, G_CONST_RETURN char **b);
>
Keep in mind the tricky part that we can't tell from this prototype
whether we have an "out string" or "in string[]"
G_CONST_RETURN is decidedly wrong, wrong, wrong for "in string[]"
People are going to screw this up, it probably needs some heavy noting
in the G_CONST_RETURN docs.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]