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

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:1162:    unsigned char *p = io_add_space(io,2,0);    p[0] = i>>8;    p[1] = i;    io->len += 2;    ref_push_object(Pike_fp->current_object);    }       /*! @decl IOBuffer add_int32( int i )    *! Adds a 32 bit network byte order value to the buffer    */ -  PIKEFUN int(0..) add_int32( int i ) +  PIKEFUN IOBuffer add_int32( int i )    {    IOBuffer *io = THIS;    unsigned char *p = io_add_space(io,4,0);    p[0] = i>>24;    p[1] = i>>16;    p[2] = i>>8;    p[3] = i;    io->len += 4;    ref_push_object(Pike_fp->current_object);    }