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 Nikhil Jindal.
The comment on this change is: Enum values start at 0 and not 1 as stated 
before.
http://wiki.apache.org/thrift/Tutorial?action=diff&rev1=8&rev2=9

--------------------------------------------------

   *              ^ 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.
+  *   PS: http://enel.ucalgary.ca/People/Norman/enel315_winter1997/enum_types/ 
states that if values are not supplied, they start at 0 and not 1.
   */
  enum Operation {
    ADD = 1,

Reply via email to