summaryrefslogtreecommitdiff
path: root/test/DocTest.thrift
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2008-02-27 01:55:17 +0000
committerDavid Reiss <dreiss@apache.org>2008-02-27 01:55:17 +0000
commit9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f (patch)
treea047210c4603c6d119639b2112049e5ebce8136d /test/DocTest.thrift
parent79eca14125c391c6011f4ffb14bfea898bc6c2f9 (diff)
downloadthrift-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 'test/DocTest.thrift')
-rwxr-xr-xtest/DocTest.thrift2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DocTest.thrift b/test/DocTest.thrift
index 5749fdabf..d760d9e02 100755
--- a/test/DocTest.thrift
+++ b/test/DocTest.thrift
@@ -5,7 +5,7 @@
*/
java_package thrift.test
-cpp_namespace thrift.test
+namespace cpp thrift.test
// C++ comment
/* c style comment */