From 8e08c60aa6d5a3520f3f7232c9efe1e6bd93c8a7 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 13 Jul 2022 16:08:35 +1000 Subject: [PATCH] add the *variables callback --- vector/QueryCallbacks.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vector/QueryCallbacks.h b/vector/QueryCallbacks.h index 0414ddb..b74550a 100644 --- a/vector/QueryCallbacks.h +++ b/vector/QueryCallbacks.h @@ -1,6 +1,8 @@ #ifndef QueryCallbacks_H #define QueryCallbacks_H +typedef struct HashVector HashVector; + enum NextState { /** * This state tells the "next" function that it should capture the @@ -63,11 +65,10 @@ struct QueryCallbacks { */ int (*next)(Query *this,BindingTable *bt,enum NextState state); /** - * This callback function adds its binding names to the + * \brief This callback function adds its binding names to the * hashvector. */ - void (*bindings)(Query *this,HashVector *hv); + void (*variables)(Query *this,HashVector *hv); }; - #endif -- 2.39.2