Branch: Tag:

2017-11-01

2017-11-01 16:36:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Some type and documentation updates.

1526:    ref_push_object(io->this);    }    -  /*! @decl protected int `[](int off) +  /*! @decl protected int(-1..255) `[](int off)    *!    *! Return the character at the specified offset. -  +  *! +  *! @returns +  *! Returns the character at offset @[off] on success, +  *! and @expr{-1@} otherwise.    */    PIKEFUN int(8bit) `[]( int off )    flags ID_PROTECTED;
1543:    Pike_sp[-1].u.integer = -1;    }    -  /*! @decl protected int `[]=(int off, int char) +  /*! @decl protected void `[]=(int off, int char)    *!    *! Set the character at the specified offset to @[char].    */ -  PIKEFUN int(8bit) `[]=( int off, int val ) +  PIKEFUN void `[]=( int off, int val )    flags ID_PROTECTED;    {    Buffer *io = THIS;
2639:    /*! @decl RewindKey rewind_on_error()    *! @decl RewindKey rewind_key()    *! -  *! These functions are very similar. The @[rewind_on_error] edition +  *! These functions are very similar. The @[rewind_on_error] variant    *! will create an object that, when it goes out of scope without    *! having been destructed explicitly, will cause the buffer to    *! rewind to the location it had when this function is called.