[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] bug in gtk cpp logic in gst
From: |
Robert Collins |
Subject: |
Re: [Help-smalltalk] bug in gtk cpp logic in gst |
Date: |
Mon, 06 Sep 2004 22:35:52 +1000 |
On Mon, 2004-09-06 at 13:41 +0200, Paolo Bonzini wrote:
> > I mailed this straight to Paolo, but he hasn't got an easy answer.. I'm
> > wondering if someone on the list has enough awk-foo to help out here...
>
> I have it :-)
>
> I've enhanced cpp.awk to remove comments and removed the simplistic code in
> mk_enums.awk to deal with that. I'm going to release a new version (2.1.9
> and a 2.2 beta too) quite soon with these changes and a few portability
> changes.
Oh cool!
Here's another small awk patch while we're at it..
--- ../reference/gtk/funcs 2004-09-05 21:09:02.000000000 +1000
+++ gtk/funcs 2004-09-05 23:31:12.000000000 +1000
@@ -133,5 +133,8 @@ $2 ~ /^\**(g[a-z]*|pango)_/ && $1 ~ /[a-
$2 = substr($2, RLENGTH + 1)
creation = $2 ~ /^(newv?|alloc)($|_)/
+ if ($2 == "new_merge_id")
+ # special case for the one API exception:
gtk_ui_manager_new_merge_id doesn't make a new ui_manager
+ creation = 0
I hope that applies from inline, if it doesn't.. well its a 3 line
addition of a special case to get the right return type.
Rob
signature.asc
Description: This is a digitally signed message part