70 #define Sq3StmtC_SIGNATURE (MkObjectC_SIGNATURE ^ (19u<<10))
71 #define Sq3StmtC_MASK (((1u<<22)-1)<<10)
79 #define Sq3StmtC_X2stmt(x) (x)
80 #define Sq3StmtC_X2obj(x) MkOBJ(x)
95 #define Sq3StmtC_T ( (struct MkTypeDefS *) (Sq3StmtC_TT) )
97 #define Sq3StmtST Sq3StmtC_T
99 #define Sq3StmtSTT (MkTYP(Sq3StmtST))
101 #define Sq3StmtC_type SQ3_STMT
103 #define Sq3StmtCT_X(instance) ( (struct MkTypeDefS *) (MkOBJ_R(instance).type) )
105 #define Sq3StmtCTT_X(instance) (MkOBJ_R(instance).type)
107 #define Sq3StmtCT_TT(typ) ( (struct MkTypeDefS *) (typ) )
109 #define Sq3StmtC_NS SQ3
111 #define Sq3StmtCTT Sq3StmtCTT
113 #define Sq3StmtCT ( (struct MkTypeDefS *) Sq3StmtCTT )
121 #pragma GCC diagnostic push
122 #pragma GCC diagnostic ignored "-Wattributes"
140 #pragma GCC diagnostic pop
141 #define Sq3StmtC_Check(mng) Sq3StmtCheck(mng)
151 META_ATTRIBUTE_SANITIZE
159 META_ATTRIBUTE_SANITIZE
166 #define Sq3StmtRaise(_stmt) if (!_MkCheckX(Sq3StmtC,_stmt)) { \
167 MkErrorSetC_1E("'Sq3StmtC' hdl is NULL"); \
172 #define Sq3STMT_R(x) (*(x)).super.stmt
174 #define Sq3STMT(x) (&Sq3STMT_R(x))
190#define Sq3GetStmtFromNat(_nat) SQ3_SET_T(Sq3StmtC,some_api__hook,_nat)
201__parser__push__(doc-group=_ignore_,doc-index=Class,doc-name=Export,
class=Sq3StmtC);
268#define Sq3StmtHandleResolve_e(netHdl) ({ \
269 MK_HDL tmpHdl=netHdl; \
274 tmp=Sq3StmtHandleResolve(tmpHdl); \
276 MkErrorSetC_1_NULL("ERROR: 'Sq3StmtC' handle is 'NULL'"); \
291 __parser__(flags=
new,doc-group=_ignore_,doc-index=Class,doc-name=Misc,
class=Sq3StmtC,null-
return-allow)
312__parser__push__(doc-name=Introspection,doc-index=Class,
class=Sq3StmtC,no-rpc,null-
return-allow,flags=
new);
#define BEGIN_SQ3_C_DECLS
#define __parser__push__(...)
#define MkSanitizeCheck(_root, _m)
#define MkSanitizeCheckO(_root, _o)
#define MkObjectHandleResolve(...)
#define MkObjectHandleGet(...)
#define MK_ATTR_RT_INSTANCE
#define MK_PARSER_RT_ONLY
#define MK_ATTR_RT_STATIC
#define MK_INSTANCE_HDL(x)
static MK_OBJ MkTypeInstances(MK_TYP const typ)
#define Sq3GetStmtFromNat(_nat)
helper for Sq3StmtC_ObjNew …
static SQ3_STMT Sq3StmtC_ObjCreate(sqlite3_stmt *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static MK_HDL Sq3StmtHandleGet_RT(MK_RT mkrt, SQ3_STMT const stmt)
Handle-Get-Slot - returns a export-hdl to the Sq3StmtC useable for external storage
static SQ3_STMT Sq3StmtPrev(SQ3_STMT const stmt)
get previous instance from linked-list of Sq3StmtS type
static SQ3_STMT Sq3StmtNext(SQ3_STMT const stmt)
get next instance from linked-list of Sq3StmtS type
static SQ3_STMT Sq3StmtHandleResolve_RT(MK_RT mkrt, MK_HDL const netHdl)
Handle-Resolve-Slot - return a Sq3StmtC from netHdl or null if invalid…
static SQ3_STMT Sq3StmtGetNull(void)
Null-Slot - return a Sq3StmtC typed NULL instance …
static MK_ARTIFICIAL SQ3_STMT Sq3StmtC_ObjNew(sqlite3_stmt *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static SQ3_STMT Sq3StmtInstances_RT(MK_RT mkrt)
get head-instance from linked-list of Sq3StmtS type …
static SQ3_STMTN Sq3StmtN(MK_MNGN mng)
(const) cast a unknown-object into an Sq3StmtS pointer or NULL if not possible
static bool Sq3StmtCheckO(MK_OBJN obj)
check Sq3StmtS -> MkObjectS::signature …
static SQ3_STMT Sq3Stmt(MK_MNG mng)
cast a unknown-object into an Sq3StmtS pointer or NULL if not possible
__thread MK_TYP Sq3StmtC_TT
class as MkTypeDefS-class-type …
#define Sq3StmtC_X2obj(x)
static bool Sq3StmtCheck(MK_MNGN mng)
check Sq3StmtS -> MkObjectS::signature …
struct sqlite3_stmt sqlite3_stmt
Struct to represent the data of the Sq3StmtC …
sqlite3_stmt * nat
internal - link between Sq3StmtS and native library
MK_STRN pzTail
The non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 …