pike.git / lib / modules / Search.pmod / Query.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/Query.pmod:1: - static mapping blob_done=([]); + import "..";      static function(int:string) blobfeeder(Search.Database.Base db, array word_ids)   {    mapping state = mkmapping(word_ids,allocate(sizeof(word_ids)));    return lambda( int word )    {    return db->get_blob(word, state[word]++);    };   }