From cde6cd90f40f55970af891f3c976d3fa87296d82 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 10 Jun 2008 08:55:50 +0000 Subject: [PATCH] Comment fix, should say TSQuery instead of TSVector. Per Jan Urbanski. --- src/include/tsearch/ts_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/tsearch/ts_type.h b/src/include/tsearch/ts_type.h index a288bbdecd..1a02eed44c 100644 --- a/src/include/tsearch/ts_type.h +++ b/src/include/tsearch/ts_type.h @@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery; */ #define COMPUTESIZE(size, lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) ) -/* Returns a pointer to the first QueryItem in a TSVector */ +/* Returns a pointer to the first QueryItem in a TSQuery */ #define GETQUERY(x) ((QueryItem*)( (char*)(x)+HDRSIZETQ )) -/* Returns a pointer to the beginning of operands in a TSVector */ +/* Returns a pointer to the beginning of operands in a TSQuery */ #define GETOPERAND(x) ( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) ) /* -- 2.39.5