aboutsummaryrefslogtreecommitdiff
path: root/src/test_tclvar.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2006-06-14 06:58:15 +0000
committerdanielk1977 <danielk1977@noemail.net>2006-06-14 06:58:15 +0000
commit9da9d471f5c7315cb97f536e1d4edbffb07fce38 (patch)
treed41c664bc0db369527817c8d536b71435065c309 /src/test_tclvar.c
parenta4e763671d9a9d29fc5f7cab047a930929628547 (diff)
downloadsqlite-9da9d471f5c7315cb97f536e1d4edbffb07fce38.tar.gz
sqlite-9da9d471f5c7315cb97f536e1d4edbffb07fce38.zip
Change the pModule parameter of the xCreate and xConnect methods to a void*. (CVS 3236)
FossilOrigin-Name: 3ffa51b50a7831ef359bc40acf605decc922c498
Diffstat (limited to 'src/test_tclvar.c')
-rw-r--r--src/test_tclvar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test_tclvar.c b/src/test_tclvar.c
index 00937c276..fc474bb70 100644
--- a/src/test_tclvar.c
+++ b/src/test_tclvar.c
@@ -16,7 +16,7 @@
** The emphasis of this file is a virtual table that provides
** access to TCL variables.
**
-** $Id: test_tclvar.c,v 1.1 2006/06/13 23:51:35 drh Exp $
+** $Id: test_tclvar.c,v 1.2 2006/06/14 06:58:16 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -45,7 +45,7 @@ struct tclvar_cursor {
/* Methods for the tclvar module */
static int tclvarConnect(
sqlite3 *db,
- const sqlite3_module *pModule,
+ void *pAux,
int argc, char **argv,
sqlite3_vtab **ppVtab
){
@@ -55,8 +55,7 @@ static int tclvarConnect(
pVtab = sqliteMalloc( sizeof(*pVtab) );
if( pVtab==0 ) return SQLITE_NOMEM;
*ppVtab = &pVtab->base;
- pVtab->base.pModule = pModule;
- pVtab->interp = pModule->pAux;
+ pVtab->interp = (Tcl_Interp *)pAux;
#ifndef SQLITE_OMIT_VIRTUALTABLE
sqlite3_declare_vtab(db, zSchema);
#endif