On Thu, 2005-01-27 at 21:13, Roger Leigh wrote:
> Ah. It looks like that was a separate problem (not checking for
> unsigned). This patch fixes that:
>
> --- /var/tmp/gtkdoc-scan 2005-01-27 19:48:29.000000000 +0000
> +++ gtkdoc-scan 2005-01-27 21:07:43.000000000 +0000
> @@ -419,7 +419,7 @@
> $decl = $';
> if ($previous_line !~ m/^\s*G_INLINE_FUNC/
> && $previous_line !~ m/^\s*static\s+/) {
> - if ($previous_line =~
> m/^\s*(extern)?\s*((const\s*|G_CONST_RETURN\s*)?\w+)(\s*\*+)?\s*$/) {
> + if ($previous_line =~
> m/^\s*(extern)?\s*((const\s*|G_CONST_RETURN\s*|unsigned\s*)?\w+)(\s*\*+)?\s*$/)
> {
> $ret_type = $2;
> if (defined ($4)) { $ret_type .= " $4"; }
> # print "Function: $symbol, Returns: $ret_type\n";
>
>
> Should I file this in bugzilla as well, or is here sufficient?
This is enough. Does it work perfectly now, with all the functions
appearing in the documentation?
I'll check & commit it in the next few days.
Damon
_______________________________________________
gtk-doc-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-doc-list