theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_TOR_TCL_API

MkBufferListC - various functions to create and destroy a MkBufferListSMore...

+ Collaboration diagram for MkBufferListC_TOR_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferListC_Merge (MkBufferListC_ARGS)
  Tcl: (constructor) MkBufferListC [$bfl Merge] C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …
 
static OT_ProcRet tclmkkernel_MkBufferListC_Dup (MkBufferListC_ARGS)
  Tcl: (constructor) MkBufferListC [$bfl Dup] C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MkBufferListC [MkBufferListC CTOR ?size:int32=0?] C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet tclmkkernel_MkBufferListC_Create (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferListC [MkBufferListC Create ?size:int32=0?] C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet tclmkkernel_MkBufferListC_CreateLA (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferListC [MkBufferListC CreateLA args:MkBufferListC...] C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)
 
static OT_ProcRet tclmkkernel_MkBufferListC_CreateTLS (OtClass_ARGS)
  Tcl: (static) MkBufferListC [MkBufferListC CreateTLS tlsName:string ?resetB:bool=true?] C-API
same as BufferListCreate but require no cleanup …
 

Detailed Description

MkBufferListC - various functions to create and destroy a MkBufferListS

Function Documentation

◆ tclmkkernel_MkBufferListC_Create()

static OT_ProcRet tclmkkernel_MkBufferListC_Create ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferListC [MkBufferListC Create ?size:int32=0?] C-API
Constructs a MkBufferC instance with size storage…

Definition at line 1289 of file MkBufferListC_tcl.c.

1289 {
1292 MK_NUM size = 0;
1295 MK_BFL retVal = MkBufferListCreate (size);
1296 if (retVal == NULL) {
1297 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1298 goto error;
1299 }
1300 OT_CONSTRUCTOR_POST(retVal)
1301 OT_retObj_SET_BFL(retVal);
1302 goto end;
1303 error:
1305 end:
1307}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_retObj_SET_BFL(nat)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define MkBufferListCreate(...)
int32_t MK_NUM
array size data-type ('num' items in array …
The CLASS used to store a list of MkBufferS items into a flat array…

◆ tclmkkernel_MkBufferListC_CreateLA()

static OT_ProcRet tclmkkernel_MkBufferListC_CreateLA ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferListC [MkBufferListC CreateLA args:MkBufferListC...] C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 1310 of file MkBufferListC_tcl.c.

1310 {
1313 MkBufferListCreateTLS_T(args,10);
1316 MK_BFL retVal = MkBufferListCreateLA (args);
1317 if (retVal == NULL) {
1318 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1319 goto error;
1320 }
1321 OT_retObj_SET_BFL(retVal);
1322 goto end;
1323 error:
1325 end:
1327}
#define OT_CHECK_REQUIRED(val)
#define CreateLA_doc
#define MkBufferListCreateLA(...)
#define MkBufferListCreateTLS_T(name, num)
create a MkBufferListC instance as thread-local-storage …
#define OT_CHECK_BAC(val)

◆ tclmkkernel_MkBufferListC_CreateTLS()

static OT_ProcRet tclmkkernel_MkBufferListC_CreateTLS ( OtClass_ARGS )
static

Tcl: (static) MkBufferListC [MkBufferListC CreateTLS tlsName:string ?resetB:bool=true?] C-API
same as BufferListCreate but require no cleanup …

Definition at line 1332 of file MkBufferListC_tcl.c.

1332 {
1335 MK_STRN tlsName = 0;
1337 MK_BOOL resetB = true;
1340 MK_BFL retVal = MkBufferListCreateTLS (tlsName, resetB);
1341 OT_retObj_SET_BFL(retVal);
1342 goto end;
1343 error:
1345 end:
1347}
#define OT_CHECK_bool(val)
#define OT_CHECK_STRN(val)
#define CreateTLS_doc
#define OT_SETUP_hdl_static
#define MkBufferListCreateTLS(...)
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type

◆ tclmkkernel_MkBufferListC_CTOR()

static OT_ProcRet tclmkkernel_MkBufferListC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) MkBufferListC [MkBufferListC CTOR ?size:int32=0?] C-API
Constructs a MkBufferC instance with size storage…

Definition at line 1269 of file MkBufferListC_tcl.c.

1269 {
1272 MK_NUM size = 0;
1274 MK_BFL retVal = MkBufferListCreate (size);
1275 if (retVal == NULL) {
1276 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1277 goto error;
1278 }
1279 OT_CONSTRUCTOR_POST(retVal)
1280 OT_retObj_CONSTR(retVal);
1281 goto end;
1282 error:
1284 end:
1286}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(x)
#define OT_SETUP_hdl_constr
#define CTOR_doc

◆ tclmkkernel_MkBufferListC_Dup()

static OT_ProcRet tclmkkernel_MkBufferListC_Dup ( MkBufferListC_ARGS )
static

Tcl: (constructor) MkBufferListC [$bfl Dup] C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …

Definition at line 1249 of file MkBufferListC_tcl.c.

1249 {
1253 MK_BFL retVal = MkBufferListDup (hdl);
1254 if (retVal == NULL) {
1255 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1256 goto error;
1257 }
1258 OT_retObj_SET_BFL(retVal);
1259 goto end;
1260 error:
1262 end:
1264}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferListDup(...)

◆ tclmkkernel_MkBufferListC_Merge()

static OT_ProcRet tclmkkernel_MkBufferListC_Merge ( MkBufferListC_ARGS )
static

Tcl: (constructor) MkBufferListC [$bfl Merge] C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …

Definition at line 1229 of file MkBufferListC_tcl.c.

1229 {
1233 MK_BFL retVal = MkBufferListMerge (hdl);
1234 if (retVal == NULL) {
1235 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1236 goto error;
1237 }
1238 OT_retObj_SET_BFL(retVal);
1239 goto end;
1240 error:
1242 end:
1244}
#define Merge_doc
#define MkBufferListMerge(...)