thrift/tutorial/shared.thrift
Mark Slee 27ed6ec1f9 Merging Jake Luciani's latest perl code gen fixes
Reviewed By: dreiss

Test Plan: Watch for any weirdness on Thrift code gen, perl specific


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665206 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 01:26:31 +00:00

20 lines
345 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
perl_package shared
struct SharedStruct {
1: i32 key
2: string value
}
service SharedService {
SharedStruct getStruct(1: i32 key)
}