diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-08-12 22:16:53 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-08-12 22:16:53 +0000 |
| commit | 3a028090359e5d5d24ccbfc11d9b6ff5681aab4f (patch) | |
| tree | 0cfb8ec1eb8a49366fc663bef00bf4dfb1f7c307 /constants.awk | |
| parent | f13ea25509e932d426ebd69d90368fe9b1d4c1ab (diff) | |
| download | irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.tar.gz irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.tar.xz irssi-python-3a028090359e5d5d24ccbfc11d9b6ff5681aab4f.zip | |
directory structure change
git-svn-id: http://svn.irssi.org/repos/irssi-python@4312 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'constants.awk')
| -rw-r--r-- | constants.awk | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/constants.awk b/constants.awk deleted file mode 100644 index 3aa5034..0000000 --- a/constants.awk +++ /dev/null @@ -1,20 +0,0 @@ -BEGIN { - print "#include \"pymodule.h\""; - print "#include \"pyirssi_irc.h\""; - print - print "void pyconstants_init(void)" - print "{" -} - -{ - if (NF >= 2) - constant = $2; - else - constant = $1; - - printf(" PyModule_AddIntConstant(py_module, \"%s\", %s);\n", $1, constant); -} - -END { - print "}" -} |
