diff options
author | David Reiss <dreiss@apache.org> | 2008-02-27 01:55:17 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2008-02-27 01:55:17 +0000 |
commit | 9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f (patch) | |
tree | a047210c4603c6d119639b2112049e5ebce8136d /tutorial/shared.thrift | |
parent | 79eca14125c391c6011f4ffb14bfea898bc6c2f9 (diff) | |
download | thrift-9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f.tar.gz |
Make the C++ generator use non-hardcoded namespaces.
- Make the C++ generator use program->get_namespace("cpp")
instead of program->get_cpp_namespace()
- Eliminate the explicit "cpp_namespace" in t_program.
- Deprecate the cpp_namespace token.
- Update example .thrift files and syntax files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665513 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/shared.thrift')
-rwxr-xr-x | tutorial/shared.thrift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/shared.thrift b/tutorial/shared.thrift index 1ecfb0a56..0d50bfa06 100755 --- a/tutorial/shared.thrift +++ b/tutorial/shared.thrift @@ -5,7 +5,7 @@ * these definitions. */ -cpp_namespace shared +namespace cpp shared java_package shared perl_package shared |