Make the Erlang generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:27:54 +0000 (20:27 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:27:54 +0000 (20:27 +0000)
commita204783a0625eb9cc8bdfe5ee86e31251b563369
tree690d825d2cd20d8bc868544f590414848431cf77
parentbbbbe880a08517a1b34f1526381e077b5a2168f6
Make the Erlang generator dynamic.

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

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