10#define META_FILE_NAME "Sq3BlobC_rb.c"
14#define OT_CLASS NS(Sq3BlobC)
15#define OT_CLASS_NAME "Sq3BlobC"
17#define OT_LNG2META(O) Sq3Blob(VAL2MNG(O))
39 RUBY_TYPED_FREE_IMMEDIATELY
66 RDATA(self)->data = NULL;
69#define S_INIT NS(sInit)(MK_RT_CALL_ONLY)
87#define OT_SETUP_hdl OT_SETUP_hdl_tmpl(Sq3BlobC);
88#define OT_SETUP_hdl__null_allow OT_SETUP_hdl_tmpl__null_allow(Sq3BlobC);
89#define OT_SETUP_hdl_constr AllRtSetup_NULL; \
90 OT_OBJ_T clazz = self; \
91 Sq3BlobC_type hdl = (Sq3BlobC_type) &MkERROR;
92#define OT_SETUP_hdl_destr OT_SETUP_hdl_tmpl__null_allow(Sq3BlobC);
93#define OT_SETUP_hdl_static AllRtSetup_NULL; \
94 __attribute__((unused)) MK_TYP hdl = Sq3BlobC##_TT;
95#define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static
97#if !defined(SetupRtFromObj_X)
98 #define SetupRtFromObj_X(hdl) AllRtSetup_X(hdl)
99 #define SetupRtFromObj_XN(hdl) AllRtSetup_XN(hdl)
107#define Open_doc "Sq3BlobC Sq3BlobC.Open(sq3lite:Sq3LiteC, zDb:string, zTable:string, zColumn:string, iRow:int64, flags:int32)"
108#define new_doc "Sq3BlobC Sq3BlobC.new(sq3lite:Sq3LiteC, zDb:string, zTable:string, zColumn:string, iRow:int64, flags:int32)"
111#define GetNull_doc "Sq3BlobC Sq3BlobC.GetNull()"
112#define HandleResolve_doc "Sq3BlobC Sq3BlobC.HandleResolve(netHdl:MK_HDL)"
113#define Instances_doc "Sq3BlobC Sq3BlobC.Instances()"
116#define Next_doc "Sq3BlobC blob.Next()"
117#define Prev_doc "Sq3BlobC blob.Prev()"
120#define Read_doc "MkBufferC sq3blob.Read(Z_inout:MkBufferC, iOffset:int32)"
123#define Bytes_doc "int32 sq3blob.Bytes()"
125#define Reopen_doc "sq3blob.Reopen(arg1:int64)"
126#define Write_doc "sq3blob.Write(z:MkBufferC, iOffset:int32)"
372 OT_METH_S ( Sq3BlobC, Open, Sq3BlobC_Open )
373 OT_METH_C ( Sq3BlobC,
new, Sq3BlobC_new )
376 OT_METH_O ( Sq3BlobC, GetNull, Sq3BlobC_GetNull )
377 OT_METH_S ( Sq3BlobC, GetNull, Sq3BlobC_GetNull )
378 OT_METH_O ( Sq3BlobC, HandleResolve, Sq3BlobC_HandleResolve )
379 OT_METH_S ( Sq3BlobC, HandleResolve, Sq3BlobC_HandleResolve )
380 OT_METH_O ( Sq3BlobC, Instances, Sq3BlobC_Instances )
381 OT_METH_S ( Sq3BlobC, Instances, Sq3BlobC_Instances )
388 OT_METH_O ( Sq3BlobC, Next, Sq3BlobC_Next )
389 OT_METH_O ( Sq3BlobC, Prev, Sq3BlobC_Prev )
392 OT_METH_O ( Sq3BlobC, Read, Sq3BlobC_Read )
395 OT_METH_O ( Sq3BlobC, Bytes, Sq3BlobC_Bytes )
397 OT_METH_O ( Sq3BlobC, Reopen, Sq3BlobC_Reopen )
398 OT_METH_O ( Sq3BlobC, Write, Sq3BlobC_Write )
#define OT_SETUP_VARARGS(min, max, d)
#define OT_SETUP_NOARG(d)
#define OT_SETUP_ONEARG(d)
#define OT_ERROR_LNG_RETURN
#define OT_CHECK_NI4(val)
#define OT_CHECK_NI8(val)
#define OT_CONSTRUCTOR_POST(x)
#define OT_METH_S(c, s, f)
#define OT_retObj_SET_BUF(nat)
#define OT_retObj_CONSTR(mng)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_SET_I32(nat)
#define OT_METH_O(c, s, f)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_OBJECT_DELETE_HARD(obj)
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
#define OT_METH_C(c, s, f)
#define OT_CHECK_STRN(val)
#define OT_retObj_SET_BLOB(nat)
#define OT_SETUP_hdl_static_constr
#define HandleResolve_doc
#define OT_SETUP_hdl_static
#define OT_SETUP_hdl_constr
#define Sq3BlobHandleResolve(...)
static SQ3_BLOB Sq3BlobPrev(SQ3_BLOB const blob)
get previous instance from linked-list of Sq3BlobS type
#define Sq3BlobInstances()
static SQ3_BLOB Sq3BlobNext(SQ3_BLOB const blob)
get next instance from linked-list of Sq3BlobS type
static SQ3_BLOB Sq3BlobGetNull(void)
Null-Slot - return a Sq3BlobC typed NULL instance …
__thread MK_TYP Sq3BlobC_TT
class as MkTypeDefS-class-type …
#define Sq3BlobC_T
class as MkTypeDefS-class-type (cast from Sq3BlobC_TT into MkTypeS) …
static MK_I32 Sq3BlobBytes(SQ3_BLOB sq3blob)
Return The Size Of An Open BLOB …
#define Sq3BlobWrite(...)
static enum MkErrorE Sq3BlobReopen(SQ3_BLOB sq3blob, MK_I64 arg1)
Move a BLOB Handle to a New Row …
static enum MkErrorE Sq3BlobOpen(SQ3_LITE sq3lite, MK_STRN zDb, MK_STRN zTable, MK_STRN zColumn, MK_I64 iRow, MK_I32 flags, SQ3_BLOB *ppBlob)
Open A BLOB For Incremental I/O …
#define OT_CHECK_NIH(val)
#define OT_CHECK_BUF(val, nullB)
#define OT_CHECK_LITE(val, nullB)
Struct to represent the data of the Sq3BlobC …
Struct to represent the data of the Sq3LiteC …