Re: support for gchar * G_CONST_RETURN * return type



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]