diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-06-26 04:20:50 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-06-26 04:20:50 +0000 |
| commit | 96280edc8fda9cc591bc0833398e576bf680931d (patch) | |
| tree | 53dad5721b3fa530a7a69b0169fe4d5d0b614a3e /constants.awk | |
| parent | 3b04cf6a1210f97d8144ee1ba646186aca4912ef (diff) | |
| download | irssi-python-96280edc8fda9cc591bc0833398e576bf680931d.tar.gz irssi-python-96280edc8fda9cc591bc0833398e576bf680931d.tar.xz irssi-python-96280edc8fda9cc591bc0833398e576bf680931d.zip | |
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
Diffstat (limited to 'constants.awk')
| -rw-r--r-- | constants.awk | 13 |
1 files changed, 13 insertions, 0 deletions
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 "};" +} + |
