theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3LiteC_TOR_TCL_API

Sq3LiteC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for Sq3LiteC_TOR_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3LiteC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) Sq3LiteC [Sq3LiteC CTOR filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="MK_NULL"?] C-API
Opening A New Database Connection …
 
static OT_ProcRet tclsq3lite_Sq3LiteC_OpenV2 (OtClass_ARGS)
  Tcl: (constructor,static) Sq3LiteC [Sq3LiteC OpenV2 filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="MK_NULL"?] C-API
Opening A New Database Connection …
 
static OT_ProcRet tclsq3lite_Sq3LiteC_PrepareV2 (Sq3LiteC_ARGS)
  Tcl: (constructor) Sq3StmtC [$db PrepareV2 zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet tclsq3lite_Sq3LiteC_CloseV2 (Sq3LiteC_ARGS)
  Tcl: (destructor) $sq3lite CloseV2 C-API
Closing A Database Connection …
 

Detailed Description

Sq3LiteC - various functions to create, initialize and destroy …

Function Documentation

◆ tclsq3lite_Sq3LiteC_CloseV2()

static OT_ProcRet tclsq3lite_Sq3LiteC_CloseV2 ( Sq3LiteC_ARGS )
static

Tcl: (destructor) $sq3lite CloseV2 C-API
Closing A Database Connection …

Definition at line 1061 of file Sq3LiteC_tcl.c.

1061 {
1065 MkErrorC_Check(hdl,Sq3LiteCloseV2 (hdl));
1067 goto end;
1068 error:
1070 end:
1072}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define CloseV2_doc
#define OT_SETUP_hdl_destr
static enum MkErrorE Sq3LiteCloseV2(SQ3_LITE sq3lite)
Closing A Database Connection …

◆ tclsq3lite_Sq3LiteC_CTOR()

static OT_ProcRet tclsq3lite_Sq3LiteC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) Sq3LiteC [Sq3LiteC CTOR filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="MK_NULL"?] C-API
Opening A New Database Connection …

Definition at line 997 of file Sq3LiteC_tcl.c.

997 {
1000 MK_STRN filename = 0;
1004 MK_STRN zVfs = NULL;
1006 SQ3_LITE ppDb;
1007 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1009 OT_retObj_CONSTR(ppDb);
1010 goto end;
1011 error:
1013 end:
1015}
#define OT_CONSTRUCTOR_POST(x)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_ENUM(ename, val)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_CONSTR(x)
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl_constr
#define CTOR_doc
#define MK_ERROR_FORMAT
const MK_STRB * MK_STRN
static enum MkErrorE Sq3LiteOpenV2(MK_STRN filename, SQ3_LITE *ppDb, enum Sq3OpenEF flags, MK_STRN zVfs)
Opening A New Database Connection …
Sq3OpenEF
Flags For File Open Operations.
@ SQ3_OPEN_CREATE
@ SQ3_OPEN_READWRITE
Struct to represent the data of the Sq3LiteC …

◆ tclsq3lite_Sq3LiteC_OpenV2()

static OT_ProcRet tclsq3lite_Sq3LiteC_OpenV2 ( OtClass_ARGS )
static

Tcl: (constructor,static) Sq3LiteC [Sq3LiteC OpenV2 filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="MK_NULL"?] C-API
Opening A New Database Connection …

Definition at line 1018 of file Sq3LiteC_tcl.c.

1018 {
1021 MK_STRN filename = 0;
1025 MK_STRN zVfs = NULL;
1028 SQ3_LITE ppDb;
1029 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1031 OT_retObj_SET_LITE(ppDb);
1032 goto end;
1033 error:
1035 end:
1037}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_LITE(nat)
#define OT_SETUP_hdl_static_constr
#define OpenV2_doc

◆ tclsq3lite_Sq3LiteC_PrepareV2()

static OT_ProcRet tclsq3lite_Sq3LiteC_PrepareV2 ( Sq3LiteC_ARGS )
static

Tcl: (constructor) Sq3StmtC [$db PrepareV2 zSql:string] C-API
Compiling An SQL Statement …

Definition at line 1042 of file Sq3LiteC_tcl.c.

1042 {
1045 MkStringR zSql = {0};
1048 SQ3_STMT ppStmt;
1049 MkErrorC_Check(hdl,Sq3LitePrepareV2 (hdl, zSql, &ppStmt));
1050 OT_retObj_SET_STMT(ppStmt);
1051 goto end;
1052 error:
1054 end:
1056}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl
#define PrepareV2_doc
static enum MkErrorE Sq3LitePrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
Struct to represent the data of the Sq3StmtC …