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
Sq3StmtC_TOR_RB_API

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

+ Collaboration diagram for Sq3StmtC_TOR_RB_API:

Functions

static OT_ProcRet rbsq3lite_Sq3StmtC_PrepareV2 (OtClass_ARGS)
  Ruby: (constructor,static) Sq3StmtC Sq3StmtC.PrepareV2(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_PrepareV3 (OtClass_ARGS)
  Ruby: (constructor,static) Sq3StmtC Sq3StmtC.PrepareV3(db:Sq3LiteC, zSql:string, ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?) C-API
Compiling An SQL Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_new (CONSTR_ARGS)
  Ruby: (constructor,static) Sq3StmtC Sq3StmtC.new(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_Finalize (Sq3StmtC_ARGS)
  Ruby: (destructor) pStmt.Finalize() C-API
Destroy A Prepared Statement Object …
 

Detailed Description

Sq3StmtC - various functions to create, initialize and destroy …

Function Documentation

◆ rbsq3lite_Sq3StmtC_Finalize()

static OT_ProcRet rbsq3lite_Sq3StmtC_Finalize ( Sq3StmtC_ARGS )
static

Ruby: (destructor) pStmt.Finalize() C-API
Destroy A Prepared Statement Object …

Definition at line 837 of file Sq3StmtC_rb.c.

837 {
843 end: MK_UNUSED /* LONG JUMP on error */
845}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define Finalize_doc
#define OT_SETUP_hdl_destr
Definition Sq3StmtC_rb.c:95
#define MK_UNUSED
static enum MkErrorE Sq3StmtFinalize(SQ3_STMT pStmt)
Destroy A Prepared Statement Object …

◆ rbsq3lite_Sq3StmtC_new()

static OT_ProcRet rbsq3lite_Sq3StmtC_new ( CONSTR_ARGS )
static

Ruby: (constructor,static) Sq3StmtC Sq3StmtC.new(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …

Definition at line 819 of file Sq3StmtC_rb.c.

819 {
822 SQ3_LITE db = 0;
824 MkStringR zSql = {0};
826 SQ3_STMT ppStmt;
827 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
828 OT_CONSTRUCTOR_POST(ppStmt)
829 OT_retObj_CONSTR(ppStmt);
830 end: MK_UNUSED /* LONG JUMP on error */
832}
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_CONSTR(mng)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_SETUP_hdl_constr
Definition Sq3StmtC_rb.c:92
#define new_doc
#define MK_NULL_NO
static enum MkErrorE Sq3StmtPrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
#define OT_CHECK_LITE(val, nullB)
Struct to represent the data of the Sq3LiteC …
Struct to represent the data of the Sq3StmtC …

◆ rbsq3lite_Sq3StmtC_PrepareV2()

static OT_ProcRet rbsq3lite_Sq3StmtC_PrepareV2 ( OtClass_ARGS )
static

Ruby: (constructor,static) Sq3StmtC Sq3StmtC.PrepareV2(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …

Definition at line 784 of file Sq3StmtC_rb.c.

784 {
787 SQ3_LITE db = 0;
789 MkStringR zSql = {0};
792 SQ3_STMT ppStmt;
793 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
794 OT_CONSTRUCTOR_POST(ppStmt)
795 OT_retObj_SET_STMT(ppStmt);
796 end: MK_UNUSED /* LONG JUMP on error */
798}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static_constr
Definition Sq3StmtC_rb.c:98
#define PrepareV2_doc

◆ rbsq3lite_Sq3StmtC_PrepareV3()

static OT_ProcRet rbsq3lite_Sq3StmtC_PrepareV3 ( OtClass_ARGS )
static

Ruby: (constructor,static) Sq3StmtC Sq3StmtC.PrepareV3(db:Sq3LiteC, zSql:string, ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?) C-API
Compiling An SQL Statement …

Definition at line 801 of file Sq3StmtC_rb.c.

801 {
804 SQ3_LITE db = 0;
806 MkStringR zSql = {0};
808 enum Sq3PrepareEF prepFlags = SQ3_PREPARE_NO;
811 SQ3_STMT ppStmt;
812 MkErrorC_Check(db,Sq3StmtPrepareV3 (db, zSql, prepFlags, &ppStmt));
813 OT_retObj_SET_STMT(ppStmt);
814 end: MK_UNUSED /* LONG JUMP on error */
816}
#define OT_CHECK_OPTIONAL(val)
#define PrepareV3_doc
Sq3PrepareEF
Prepare Flags.
@ SQ3_PREPARE_NO
static enum MkErrorE Sq3StmtPrepareV3(SQ3_LITE db, MkStringR zSql, Sq3PrepareEF prepFlags, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
#define OT_CHECK_ENUM(ename, val)