Beispiel #1
0
TopDocs*
TopDocs_new(Vector *match_docs, uint32_t total_hits) {
    TopDocs *self = (TopDocs*)Class_Make_Obj(TOPDOCS);
    return TopDocs_init(self, match_docs, total_hits);
}
Beispiel #2
0
TopDocs*
TopDocs_new(VArray *match_docs, u32_t total_hits)
{
    TopDocs *self = (TopDocs*)VTable_Make_Obj(&TOPDOCS);
    return TopDocs_init(self, match_docs, total_hits);
}