Re: support for gchar * G_CONST_RETURN * return type
- From: Matthias Clasen <mclasen redhat com>
- To: Ray Strode <rstrode redhat com>
- Cc: gtk-doc-list gnome org
- Subject: Re: support for gchar * G_CONST_RETURN * return type
- Date: Tue, 10 Aug 2004 15:43:27 -0400
On Mon, 2004-08-09 at 15:01, Ray Strode wrote:
> Hi,
>
> The attached patch adds support to gtk-doc for recognizing functions
> that return arrays owned by glib of strings.
>
> My perl abilities are rather weak, so the patch may not be correct.
>
> --Ray Strode
Looks reasonable to me, provided you tested it in various cases.
One thing I wonder about is
+ if (defined ($6) and defined ($7)) {
+ $ret_type .= " $6 $7";
+ }
What happens if only one of them is defined ?
Matthias
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]