summaryrefslogtreecommitdiff
path: root/tools/enum.pl
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-17 16:44:47 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-17 16:44:47 +0100
commit91c81c6e7ad8883f314d8d4c011b256d94468a38 (patch)
tree04a0cf42a283990fd5f9384405b3901fd30cf42e /tools/enum.pl
parent3ec8bdad019572c518d2fee17040b46a161d6f40 (diff)
downloadglibmm-91c81c6e7ad8883f314d8d4c011b256d94468a38.tar.gz
Add tools/defs_gen/enumextract.py
A Python script that can replace the Perl script tools/enum.pl. Why? Just because I've got fond of Python.
Diffstat (limited to 'tools/enum.pl')
-rwxr-xr-xtools/enum.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/enum.pl b/tools/enum.pl
index 3091f113..10d12830 100755
--- a/tools/enum.pl
+++ b/tools/enum.pl
@@ -1,5 +1,9 @@
#! /usr/bin/perl
+# glibmm/tools/defs_gen/enumextract.py is a Python script with almost
+# the same functionality as this Perl script.
+# enumextract.py is newer and recommended.
+
# The lisp definitions for flags does not include order.
# thus we must extract it ourselves.
# Usage: ./enum.pl /gnome/head/cvs/gconf/gconf/*.h > gconf_enums.defs