Make the OCaml generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:05 +0000 (21:40 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:05 +0000 (21:40 +0000)
commitf0521b1305aaa0900f02a09ac743cef21f4befe7
treee9c7cbfffb6b5264309106f8bcfd1f5d5857fd69
parentb4d7b89efd635c8ca2407c63a73ed7ab0983fbd1
Make the OCaml generator dynamic.

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

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