pike.git / src / modules / _Stdio / buffer.cmod

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:1025:    if( args == 1 && !io_len( io ) )    io_stash_malloc( io );       for(i=0; i<args; i++ )    io_append_svalue( io, argp+i );       pop_stack();    ref_push_object(io->this);    }    -  /*! @decl IOBuffer add_byte( int(0..255) ) -  *! @decl IOBuffer add_int8( int(0..255) ) +  /*! @decl IOBuffer add_int8( int(0..255) )    *! Adds a single byte to the buffer.    */ -  PIKEFUN IOBuffer add_byte( int i ) -  { -  IOBuffer *io = THIS; -  *io_add_space(io,1,0)=i; -  io->len++; -  Pike_sp--; -  ref_push_object(Pike_fp->current_object); -  } -  +     PIKEFUN IOBuffer add_int8( int i )    {    IOBuffer *io = THIS;    *io_add_space(io,1,0)=i;    io->len++;    Pike_sp--;    ref_push_object(Pike_fp->current_object);    }       /*! @decl IOBuffer add_int16( int(0..65535) )