Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "ThriftUsageC++" page has been changed by AkiraKitada. http://wiki.apache.org/thrift/ThriftUsageC%2B%2B?action=diff&rev1=19&rev2=20 -------------------------------------------------- == Generating the server code == In this example we use an imaginary file called {{{your-thrift-file.thrift}}}: + {{{ - {{{#!/usr/local/bin/thrift --gen cpp + #!/usr/local/bin/thrift --gen cpp namespace cpp Test @@ -28, +29 @@ . i32 ping() + } - } }}} Now run: + }}} Now run: {{{ thrift --gen cpp your-thrift-file.thrift
