summaryrefslogtreecommitdiff
path: root/tutorial/shared.thrift
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2008-03-27 21:42:39 +0000
committerDavid Reiss <dreiss@apache.org>2008-03-27 21:42:39 +0000
commit07ef3a930a8f99b41ce381f9fda3aa6785bd3956 (patch)
tree86b92faf5d3ab49a746a00486e4be38267e9d005 /tutorial/shared.thrift
parentfdc21aa713ca8ddf19cd2104c4074bdd27211e05 (diff)
downloadthrift-07ef3a930a8f99b41ce381f9fda3aa6785bd3956.tar.gz
Make the Perl generator use non-hardcoded namespaces.
- Make the Perl generator use program->get_namespace("perl") instead of program->get_perl_package() - Eliminate the explicit "perl_package" in t_program. - Deprecate the perl_package token. - Update example .thrift files and syntax files. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/shared.thrift')
-rwxr-xr-xtutorial/shared.thrift2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/shared.thrift b/tutorial/shared.thrift
index e986537ed..28de2412c 100755
--- a/tutorial/shared.thrift
+++ b/tutorial/shared.thrift
@@ -7,7 +7,7 @@
namespace cpp shared
namespace java shared
-perl_package shared
+namespace perl shared
struct SharedStruct {
1: i32 key