mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
e0a11c44ab
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@753610 13f79535-47bb-0310-9956-ffa450edef68
18 lines
293 B
Thrift
18 lines
293 B
Thrift
/**
|
|
* This Thrift file can be included by other Thrift files that want to share
|
|
* these definitions.
|
|
*/
|
|
|
|
namespace cpp shared
|
|
namespace java shared
|
|
namespace perl shared
|
|
|
|
struct SharedStruct {
|
|
1: i32 key
|
|
2: string value
|
|
}
|
|
|
|
service SharedService {
|
|
SharedStruct getStruct(1: i32 key)
|
|
}
|