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

This commit is contained in:
Jamey Sharp 2006-10-06 23:32:18 -07:00
parent c73ff37b90
commit 7b786bd8f3

View File

@ -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;