mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
738ad31baf
Summary: Jake Luciani Reviewed By: mcslee git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665116 13f79535-47bb-0310-9956-ffa450edef68
19 lines
325 B
Thrift
Executable File
19 lines
325 B
Thrift
Executable File
#!/usr/local/bin/thrift -cpp -java -py -php -xsd -perl
|
|
|
|
/**
|
|
* This Thrift file can be included by other Thrift files that want to share
|
|
* these definitions.
|
|
*/
|
|
|
|
cpp_namespace shared
|
|
java_package shared
|
|
|
|
struct SharedStruct {
|
|
1: i32 key
|
|
2: string value
|
|
}
|
|
|
|
service SharedService {
|
|
SharedStruct getStruct(1: i32 key)
|
|
}
|