[Xcb-commit] tools

Jamey Sharp jamey at kemper.freedesktop.org
Fri Oct 6 23:33:25 PDT 2006


 tools/api_conv.pl |    1 +
 1 files changed, 1 insertion(+)

New commits:
diff-tree 7b786bd8f34e67617beda4f952a5a636a370396a (from c73ff37b907c8af6d03ab69cca27bc837c1cc189)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Fri Oct 6 23:32:18 2006 -0700

    api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we have no type-safety XID wrappers.

diff --git a/tools/api_conv.pl b/tools/api_conv.pl
index 003a893..83fd82d 100755
--- a/tools/api_conv.pl
+++ b/tools/api_conv.pl
@@ -95,3 +95,4 @@ sub convert($$)
 
 s/^(\s*#\s*include\s*<)X11\/XCB\//$1xcb\//;
 s/([_A-Za-z][_A-Za-z0-9]*)([ \t]*\()?/convert($1, defined $2) . ($2 or "")/eg;
+s/xcb_[a-z0-9_]*_new/xcb_generate_id/g;


More information about the xcb-commit mailing list