pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*- -  * $Id: builtin.cmod,v 1.81 2002/04/07 11:15:39 nilsson Exp $ +  * $Id: builtin.cmod,v 1.82 2002/04/08 00:41:16 nilsson Exp $    */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "opcodes.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"
pike.git/src/builtin.cmod:1430:    init_string_builder_alloc( &str2->str,    str->str.malloced,    str->str.s->size_shift );    MEMCPY( (void *)str2->str.s, (void *)str->str.s,    str->str.malloced+sizeof(struct pike_string));    }    apply( res, "add", 1 );    RETURN res;    }    -  PIKEFUN object `+=( string what ) -  { -  f_Buffer_add( 1 ); -  REF_RETURN fp->current_object; -  } -  +     /*! @decl int add(string ... data)    *!    *! Adds @[data] to the buffer. Returns the size of the buffer.    *!    */    PIKEFUN int add( string ... arg1 )    {    struct Buffer_struct *str = THIS;    int j;