diff options
Diffstat (limited to 'tools/api_conv.pl')
-rwxr-xr-x | tools/api_conv.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/api_conv.pl b/tools/api_conv.pl index 2b0fa9f..7e26145 100755 --- a/tools/api_conv.pl +++ b/tools/api_conv.pl @@ -93,4 +93,5 @@ sub convert($$) return "xcb" . $_; } +s/^(\s*#\s*include\s*<)X11\/XCB\//$1xcb\//; s/([_A-Za-z][_A-Za-z0-9]*)([ \t]*\()?/convert($1, defined $2) . ($2 or "")/eg; |