From 96280edc8fda9cc591bc0833398e576bf680931d Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Mon, 26 Jun 2006 04:20:50 +0000 Subject: working on new provision for constants and changed sig2code script git-svn-id: http://svn.irssi.org/repos/irssi-python@4292 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- constants.awk | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 constants.awk (limited to 'constants.awk') diff --git a/constants.awk b/constants.awk new file mode 100644 index 0000000..c9395c1 --- /dev/null +++ b/constants.awk @@ -0,0 +1,13 @@ +BEGIN { + print "static PY_CONSTANT_REC py_constants[] = {"; +} + +{ + printf(" {\"%s\", %25s},\n", $1,$1); +} + +END { + print " {NULL}"; + print "};" +} + -- cgit