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

version» Context lines:

pike.git/src/post_modules/Shuffler/Shuffler.cmod:923:    if( this->current_source )    {    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|void start, int|object|void length) +  PIKEFUN void add_source(mixed source, +  int|object|function(object, int:array(string))| +  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 );    *! @decl void add_source( array source);    *! @decl void add_source( array source, @    *! function(Shuffle, int:array(string)) 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