1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* This header file defines the external interface to the custom Scripting
** Language (TH) interpreter used to create test cases for SQLiteRT. The
** interpreted language and API are both based on Tcl.
*/
#ifndef __TH_H
#define __TH_H
typedef unsigned char uchar;
/*
** Before creating an interpreter, the application must allocate and
** populate an instance of the following structure. It must remain valid
** for the lifetime of the interpreter.
*/
|
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* This header file defines the external interface to the custom Scripting
** Language (TH) interpreter used to create test cases for SQLiteRT. The
** interpreted language and API are both based on Tcl.
*/
typedef unsigned char uchar;
/*
** Before creating an interpreter, the application must allocate and
** populate an instance of the following structure. It must remain valid
** for the lifetime of the interpreter.
*/
|
183
184
185
186
187
188
189
190
191
192
|
/*
** Useful functions from th_lang.c.
*/
int Th_WrongNumArgs(Th_Interp *interp, const char *zMsg);
typedef struct Th_SubCommand {char *zName; Th_CommandProc xProc;} Th_SubCommand;
int Th_CallSubCommand(Th_Interp*,void*,int,const uchar**,int*,Th_SubCommand*);
#endif /* ifndef __TH_H */
|
<
<
<
|
180
181
182
183
184
185
186
|
/*
** Useful functions from th_lang.c.
*/
int Th_WrongNumArgs(Th_Interp *interp, const char *zMsg);
typedef struct Th_SubCommand {char *zName; Th_CommandProc xProc;} Th_SubCommand;
int Th_CallSubCommand(Th_Interp*,void*,int,const uchar**,int*,Th_SubCommand*);
|