Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "Tutorial" page has been changed by KevinKelley. http://wiki.apache.org/thrift/Tutorial?action=diff&rev1=7&rev2=8 -------------------------------------------------- - {{{ - #!/usr/local/bin/thrift --gen cpp --gen java --gen py --php --gen rb --gen perl --erl --xsd -r + {{{#!/usr/local/bin/thrift --gen cpp --gen java --gen py --php --gen rb --gen perl --erl --xsd -r # # Thrift Tutorial # Mark Slee ([email protected]) @@ -69, +68 @@ /** * You can define enums, which are just 32 bit integers. Values are optional * and start at 1 if not supplied, C style again. + * ^ ThriftIDL page says "If no constant value is supplied, + * the value is either 0 for the first element, or one greater than the + * preceding value for any subsequent element" so I'm guessing that's a bug. */ enum Operation { ADD = 1,
