theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
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 1064 of file Sq3LiteC_tcl.c.

1064 {
1068 MkErrorC_Check(hdl,Sq3LiteCloseV2 (hdl));
1070 goto end;
1071 error:
1073 end:
1075}
#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 1000 of file Sq3LiteC_tcl.c.

1000 {
1003 MK_STRN filename = 0;
1007 MK_STRN zVfs = NULL;
1009 SQ3_LITE ppDb;
1010 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1012 OT_retObj_CONSTR(ppDb);
1013 goto end;
1014 error:
1016 end:
1018}
#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 1021 of file Sq3LiteC_tcl.c.

1021 {
1024 MK_STRN filename = 0;
1028 MK_STRN zVfs = NULL;
1031 SQ3_LITE ppDb;
1032 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1034 OT_retObj_SET_LITE(ppDb);
1035 goto end;
1036 error:
1038 end:
1040}
#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 1045 of file Sq3LiteC_tcl.c.

1045 {
1048 MkStringR zSql = {0};
1051 SQ3_STMT ppStmt;
1052 MkErrorC_Check(hdl,Sq3LitePrepareV2 (hdl, zSql, &ppStmt));
1053 OT_retObj_SET_STMT(ppStmt);
1054 goto end;
1055 error:
1057 end:
1059}
#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 …