mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
9a08dc6184
- Make the C++ generator use program->get_namespace("cpp") instead of program->get_cpp_namespace() - Eliminate the explicit "cpp_namespace" in t_program. - Deprecate the cpp_namespace token. - Update example .thrift files and syntax files. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665513 13f79535-47bb-0310-9956-ffa450edef68
15 lines
323 B
Thrift
15 lines
323 B
Thrift
namespace cpp test.stress
|
|
|
|
service Service {
|
|
|
|
void echoVoid(),
|
|
byte echoByte(1: byte arg),
|
|
i32 echoI32(1: i32 arg),
|
|
i64 echoI64(1: i64 arg),
|
|
string echoString(1: string arg),
|
|
list<byte> echoList(1: list<byte> arg),
|
|
set<byte> echoSet(1: set<byte> arg),
|
|
map<byte, byte> echoMap(1: map<byte, byte> arg),
|
|
}
|
|
|