예제 #1
0
HighlightWriter*
HLWriter_new(Schema *schema, Snapshot *snapshot, Segment *segment,
             PolyReader *polyreader) {
    HighlightWriter *self
        = (HighlightWriter*)Class_Make_Obj(HIGHLIGHTWRITER);
    return HLWriter_init(self, schema, snapshot, segment, polyreader);
}
예제 #2
0
HighlightWriter*
HLWriter_new(Snapshot *snapshot, Segment *segment, PolyReader *polyreader)
{
    HighlightWriter *self 
        = (HighlightWriter*)VTable_Make_Obj(&HIGHLIGHTWRITER);
    return HLWriter_init(self, snapshot, segment, polyreader);
}