summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/api_conv.pl1
1 files changed, 1 insertions, 0 deletions
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;