pike.git / src / post_modules / Shuffler / Shuffler.cmod

version» Context lines:

pike.git/src/post_modules/Shuffler/Shuffler.cmod:924:    {    this->last_source->next = res;    this->last_source = res;    }    else    this->current_source = this->last_source = res;    }    }       PIKEFUN void add_source(mixed source, -  int|object|function(object, int:array(string))| +  int|object|function(object, int:array(string)|zero)|    void start, int|object|void length)    /*! @decl void add_source( mixed source, int|void start, int|void length );    *! @decl void add_source( mixed source, @ -  *! function(Shuffle, int:array(string)) wrap_cb ); +  *! function(Shuffle, int:array(string)|zero) wrap_cb );    *! @decl void add_source( array source);    *! @decl void add_source( array source, @ -  *! function(Shuffle, int:array(string)) wrap_cb ); +  *! function(Shuffle, int:array(string)|zero) wrap_cb );    *! Add a new source to the list of data sources.    *! The data from the sources will be sent in order.    *!    *! If start and length are not specified, the whole source will be    *! sent, if start but not length is specified, the whole source,    *! excluding the first @[start] bytes will be sent.    *!    *! Currently supported sources    *! @dl    *! @item int