projects
/
platform
/
upstream
/
libxcb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73ff37
)
api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we...
author
Jamey Sharp
<jamey@minilop.net>
Sat, 7 Oct 2006 06:32:18 +0000
(23:32 -0700)
committer
Jamey Sharp
<jamey@minilop.net>
Sat, 7 Oct 2006 06:32:32 +0000
(23:32 -0700)
tools/api_conv.pl
patch
|
blob
|
history
diff --git
a/tools/api_conv.pl
b/tools/api_conv.pl
index
003a893
..
83fd82d
100755
(executable)
--- 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;