/*********************************************** !!!! DO NOT EDIT THIS FILE !!!! This file was auto-generated by Build.PL from lib/KinoSearch/Analysis/TokenBatch.pm See KinoSearch::Docs::DevGuide for details. ***********************************************/ #line 281 "lib/KinoSearch/Analysis/TokenBatch.pm" #ifndef H_KINOSEARCH_ANALYSIS_TOKENBATCH #define H_KINOSEARCH_ANALYSIS_TOKENBATCH 1 #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "ppport.h" #include "KinoSearchAnalysisToken.h" #include "KinoSearchIndexTerm.h" #include "KinoSearchUtilCarp.h" #include "KinoSearchUtilMathUtils.h" #include "KinoSearchUtilMemManager.h" #include "KinoSearchUtilStringHelper.h" typedef struct tokenbatch { Token *first; Token *last; Token *current; I32 size; I32 initialized; AV *postings; SV *tv_string; } TokenBatch; TokenBatch* Kino_TokenBatch_new(); void Kino_TokenBatch_destroy(TokenBatch *batch); void Kino_TokenBatch_append(TokenBatch *batch, Token *token); I32 Kino_TokenBatch_next(TokenBatch *batch); void Kino_TokenBatch_reset(TokenBatch *batch); void Kino_TokenBatch_build_plist(TokenBatch*, U32, U16); #endif /* include guard */