Make the Python generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:40 +0000 (21:41 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:40 +0000 (21:41 +0000)
commit558e3993e1fe5ffacc8c6339cedf3c616c5e253f
tree7183f406a26ce52b16b54be4f4615d3112648291
parent9d65bf061f2c9876944e5eddea513a2f50d5e883
Make the Python generator dynamic.

- Modify the Python generator constructor to fit the new generic interface.
- Register the Python genrator with the central registry.
- Deprecate the old way of invoking the Python generator.
- main.cc no longer includes t_py_generator.h.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665612 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_py_generator.cc
compiler/cpp/src/generate/t_py_generator.h
compiler/cpp/src/main.cc