theSq3Lite 10.0
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 834 of file Sq3StmtC_rb.c.

834 {
840 end: MK_UNUSED /* LONG JUMP on error */
842}
#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:92
#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 816 of file Sq3StmtC_rb.c.

816 {
819 SQ3_LITE db = 0;
821 MkStringR zSql = {0};
823 SQ3_STMT ppStmt;
824 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
825 OT_CONSTRUCTOR_POST(ppStmt)
826 OT_retObj_CONSTR(ppStmt);
827 end: MK_UNUSED /* LONG JUMP on error */
829}
#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:89
#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 781 of file Sq3StmtC_rb.c.

781 {
784 SQ3_LITE db = 0;
786 MkStringR zSql = {0};
789 SQ3_STMT ppStmt;
790 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
791 OT_CONSTRUCTOR_POST(ppStmt)
792 OT_retObj_SET_STMT(ppStmt);
793 end: MK_UNUSED /* LONG JUMP on error */
795}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static_constr
Definition Sq3StmtC_rb.c:95
#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 798 of file Sq3StmtC_rb.c.

798 {
801 SQ3_LITE db = 0;
803 MkStringR zSql = {0};
805 enum Sq3PrepareEF prepFlags = SQ3_PREPARE_NO;
808 SQ3_STMT ppStmt;
809 MkErrorC_Check(db,Sq3StmtPrepareV3 (db, zSql, prepFlags, &ppStmt));
810 OT_retObj_SET_STMT(ppStmt);
811 end: MK_UNUSED /* LONG JUMP on error */
813}
#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)