Make the Cocoa generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:06 +0000 (21:41 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:41:06 +0000 (21:41 +0000)
commit54b602b7468dd1260a3d65d389e449b572cdff0f
tree8a9c04ebf041198e59a7e3db7c0fa1ab5ac01d96
parent4b349aabc946289a200e5691140e7000b33b9583
Make the Cocoa generator use non-hardcoded namespaces.

- Make the Cocoa generator use program->get_namespace("cocoa")
  instead of program->get_cocoa_prefix()
- Eliminate the explicit "cocoa_prefix" in t_program.
- Deprecate the cocoa_prefix token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665606 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cocoa_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
thrift.el
thrift.vim