You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2017/12/03 01:03:11 UTC
[41/50] [abbrv] thrift git commit: THRIFT-4392 reorder structs in
plugin.thrift
THRIFT-4392 reorder structs in plugin.thrift
This fixes #1417
This closes #1413
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/35f987d4
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/35f987d4
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/35f987d4
Branch: refs/heads/0.11.0
Commit: 35f987d45b2d4e03f3047a923f40fbb54c9e67eb
Parents: 44426c9
Author: Chet Murthy <ch...@gmail.com>
Authored: Thu Nov 23 18:03:01 2017 -0800
Committer: James E. King, III <jk...@apache.org>
Committed: Wed Nov 29 21:37:18 2017 -0500
----------------------------------------------------------------------
compiler/cpp/src/thrift/plugin/plugin.thrift | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/35f987d4/compiler/cpp/src/thrift/plugin/plugin.thrift
----------------------------------------------------------------------
diff --git a/compiler/cpp/src/thrift/plugin/plugin.thrift b/compiler/cpp/src/thrift/plugin/plugin.thrift
index a93873d..1e51310 100644
--- a/compiler/cpp/src/thrift/plugin/plugin.thrift
+++ b/compiler/cpp/src/thrift/plugin/plugin.thrift
@@ -120,12 +120,6 @@ struct t_const {
3: required t_const_value value
100: optional string doc
}
-struct t_struct {
- 1: required TypeMetadata metadata
- 2: required list<t_field> members
- 3: required bool is_union
- 4: required bool is_xception
-}
struct t_field {
1: required string name
2: required t_type_id type
@@ -136,6 +130,12 @@ struct t_field {
99: optional map<string, string> annotations
100: optional string doc
}
+struct t_struct {
+ 1: required TypeMetadata metadata
+ 2: required list<t_field> members
+ 3: required bool is_union
+ 4: required bool is_xception
+}
struct t_function {
1: required string name
2: required t_type_id returntype