64 #define Sq3LiteC_SIGNATURE (MkObjectC_SIGNATURE ^ (22u<<10))
65 #define Sq3LiteC_MASK (((1u<<22)-1)<<10)
73 #define Sq3LiteC_X2lite(x) (x)
74 #define Sq3LiteC_X2obj(x) MkOBJ(x)
89 #define Sq3LiteC_T ( (struct MkTypeDefS *) (Sq3LiteC_TT) )
91 #define Sq3LiteST Sq3LiteC_T
93 #define Sq3LiteSTT (MkTYP(Sq3LiteST))
95 #define Sq3LiteC_type SQ3_LITE
97 #define Sq3LiteCT_X(instance) ( (struct MkTypeDefS *) (MkOBJ_R(instance).type) )
99 #define Sq3LiteCTT_X(instance) (MkOBJ_R(instance).type)
101 #define Sq3LiteCT_TT(typ) ( (struct MkTypeDefS *) (typ) )
103 #define Sq3LiteC_NS SQ3
105 #define Sq3LiteCTT Sq3LiteCTT
107 #define Sq3LiteCT ( (struct MkTypeDefS *) Sq3LiteCTT )
115 #pragma GCC diagnostic push
116 #pragma GCC diagnostic ignored "-Wattributes"
134 #pragma GCC diagnostic pop
135 #define Sq3LiteC_Check(mng) Sq3LiteCheck(mng)
145 META_ATTRIBUTE_SANITIZE
153 META_ATTRIBUTE_SANITIZE
160 #define Sq3LiteRaise(_lite) if (!_MkCheckX(Sq3LiteC,_lite)) { \
161 MkErrorSetC_1E("'Sq3LiteC' hdl is NULL"); \
166 #define Sq3LITE_R(x) (*(x)).super.lite
168 #define Sq3LITE(x) (&Sq3LITE_R(x))
184#define Sq3GetLiteFromNat(_nat) SQ3_SET_T(Sq3LiteC,some_api__hook,_nat)
195__parser__push__(doc-group=_ignore_,doc-index=Class,doc-name=Export,
class=Sq3LiteC);
262#define Sq3LiteHandleResolve_e(netHdl) ({ \
263 MK_HDL tmpHdl=netHdl; \
268 tmp=Sq3LiteHandleResolve(tmpHdl); \
270 MkErrorSetC_1_NULL("ERROR: 'Sq3LiteC' handle is 'NULL'"); \
285 __parser__(flags=
new,doc-group=_ignore_,doc-index=Class,doc-name=Misc,
class=Sq3LiteC,null-
return-allow)
306__parser__push__(doc-name=Introspection,doc-index=Class,
class=Sq3LiteC,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)
static SQ3_LITE Sq3LiteNext(SQ3_LITE const lite)
get next instance from linked-list of Sq3LiteS type
static MK_ARTIFICIAL SQ3_LITE Sq3LiteC_ObjNew(sqlite3 *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static SQ3_LITE Sq3LiteInstances_RT(MK_RT mkrt)
get head-instance from linked-list of Sq3LiteS type …
#define Sq3GetLiteFromNat(_nat)
helper for Sq3LiteC_ObjNew …
static SQ3_LITE Sq3LiteGetNull(void)
Null-Slot - return a Sq3LiteC typed NULL instance …
static SQ3_LITE Sq3LiteC_ObjCreate(sqlite3 *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static SQ3_LITE Sq3LiteHandleResolve_RT(MK_RT mkrt, MK_HDL const netHdl)
Handle-Resolve-Slot - return a Sq3LiteC from netHdl or nil if invalid…
static SQ3_LITE Sq3LitePrev(SQ3_LITE const lite)
get previous instance from linked-list of Sq3LiteS type
static MK_HDL Sq3LiteHandleGet_RT(MK_RT mkrt, SQ3_LITE const lite)
Handle-Get-Slot - returns a export-hdl to the Sq3LiteC useable for external storage
__thread MK_TYP Sq3LiteC_TT
class as MkTypeDefS-class-type …
static bool Sq3LiteCheckO(MK_OBJN obj)
check Sq3LiteS -> MkObjectS::signature …
#define Sq3LiteC_X2obj(x)
static bool Sq3LiteCheck(MK_MNGN mng)
check Sq3LiteS -> MkObjectS::signature …
static SQ3_LITE Sq3Lite(MK_MNG mng)
cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
static SQ3_LITEN Sq3LiteN(MK_MNGN mng)
(const) cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
Struct to represent the data of the Sq3LiteC …
sqlite3 * nat
internal - link between Sq3LiteS and native library