[Xcb-commit] xcb

Vincent Torri doursse at kemper.freedesktop.org
Sat Sep 23 23:51:53 PDT 2006


 xcb/tools/README |   17 +++++++++++++++++
 1 files changed, 17 insertions(+)

New commits:
diff-tree 7f785bb37ba1d410f7bb2e0719ca828ee54d79ac (from 26d1b05b244dd0bb2bf68505462de8db237d81e5)
Author: TORRI Vincent <torri at alf94-3-82-66-248-160.fbx.proxad.net>
Date:   Sun Sep 24 08:51:20 2006 +0200

    now, I know how to use api_conv.pl :)

diff --git a/xcb/tools/README b/xcb/tools/README
new file mode 100644
index 0000000..2d1874e
--- /dev/null
+++ b/xcb/tools/README
@@ -0,0 +1,17 @@
+
+api_conv.pl:
+------------
+
+ Description: used to convert old XCB names in camel case to lower
+              case names.
+
+ Usage:
+
+  * for several files:
+
+perl -i xcb/tools/api_conv.pl xcb/tools/constants <file1> <file2> ...
+
+  * for a directory:
+
+find dir -name '*.[ch]' -exec perl -i xcb/tools/api_conv.pl xcb/tools/constants {} +
+


More information about the xcb-commit mailing list