Branch: Tag:

2003-04-07

2003-04-07 16:19:15 by Martin Stjernholm <mast@lysator.liu.se>

Forward-ported String.Buffer.`+= which apparently only got into 7.2.

Rev: src/builtin.cmod:1.106

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin.cmod,v 1.105 2003/04/07 15:32:58 mast Exp $ + || $Id: builtin.cmod,v 1.106 2003/04/07 16:19:15 mast Exp $   */      #include "global.h"
1542:    RETURN res;    }    +  PIKEFUN object `+=( string what ) +  { +  f_Buffer_add( 1 ); +  REF_RETURN Pike_fp->current_object; +  } +     /*! @decl int add(string ... data)    *!    *! Adds @[data] to the buffer. Returns the size of the buffer.