commit | 74b8e76ec1d85feacaa5e96b60a9c7f21026508f | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Tue Jan 22 15:25:18 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Tue Jan 22 15:25:18 2008 +0000 |
tree | 07b20fdd26c0d2f54bb4d8ea3fef22658542b44b | |
parent | 690c91220e06b6e3214c8a8efc214db276967b09 [diff] |
Don't repeat yourself Added the macros PyModule_AddIntMacro and PyModule_AddStringMacro. They shorten PyModule_AddIntConstant(m, "AF_INET", AF_INET) to PyModule_AddIntMacro(m, AF_INET)