thrift/compiler/cpp
Mark Slee 8d725a2738 Add explicit binary type to Thrift
Summary: Identical to string in all languages except Java. Java String is NOT binary-safe, so we need to use raw byte[] in that case. PHP/RUBY/Python strings are all binary safe, and C++ std::string works fine and manages memory for you so it's the safest route. Java just needs this tweak.

Reviewed By: aditya

Test Plan: Use "binary" as a type instead of String.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665099 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 01:57:12 +00:00
..
src Add explicit binary type to Thrift 2007-04-13 01:57:12 +00:00
bootstrap.sh Full automake/autoconf compliance for thrift 2007-01-25 07:58:55 +00:00
cleanup.sh Various Thrift fixes, including Application Exception support in Ruby, better errror messages across languages, etc. 2007-03-14 02:47:35 +00:00
configure.ac Various Thrift fixes, including Application Exception support in Ruby, better errror messages across languages, etc. 2007-03-14 02:47:35 +00:00
COPYING Some Thrift documentation cleanups 2007-02-28 21:43:54 +00:00
LICENSE Some Thrift documentation cleanups 2007-02-28 21:43:54 +00:00
Makefile.am Ruby support for Thrift 2007-01-27 01:44:22 +00:00
README Ruby code gen fixes and some README improvements 2007-03-07 05:46:50 +00:00

Thrift Code Compiler

Author: Mark Slee (mcslee@facebook.com)
Last Modified: 2007-Mar-06

Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.

Thrift Code Compiler
====================

This compiler takes thrift files as input and generates output code across
various programming languages. To build and install it, do this:

  ./bootstrap.sh
  ./configure
  make
  sudo make install

It requires some form of LEX and YACC to be installed, which should be
picked up by autoconf.

Not much else to report here. You'll have to look at the code to get your
questions answered. Or just run the executable after you build and take
a look at the usage message.