pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:3201:    *! with NUL-characters.    *!    *! @note    *! Pike 7.8 and earlier did not support adding @[String.Buffer]s    *! directly.    *!    *! @seealso    *! @[add()]    */    PIKEFUN int addat(int(0..) pos, string ... arg1 ) -  rawtype tFuncV(tNone, tOr(tString, tObjIs_BUFFER), tIntPos); +  rawtype tFuncV(tIntPos, tOr(tString, tObjIs_BUFFER), tIntPos);    {    struct Buffer_struct *str = THIS;       if (pos < 0)    SIMPLE_BAD_ARG_ERROR("addat", 1, "int(0..)");       if (args) {    int init_from_arg0 = 0, j;    ptrdiff_t sum = 0;    int shift = 0;