theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_TOR_PY_API

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

+ Collaboration diagram for MkBufferListC_TOR_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferListC_Merge (MkBufferListC_ARGS)
  Python: [constructor] MkBufferListC bfl.Merge() C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …
 
static OT_ProcRet pymkkernel_MkBufferListC_Dup (MkBufferListC_ARGS)
  Python: [constructor] MkBufferListC bfl.Dup() C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …
 
static OT_ProcRet pymkkernel_MkBufferListC_Create (OtClass_ARGS)
  Python: [constructor,static] MkBufferListC MkBufferListC.Create(?size:int32=0?) C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet pymkkernel_MkBufferListC_CreateLA (OtClass_ARGS)
  Python: [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 pymkkernel_MkBufferListC_new (CONSTR_ARGS)
  Python: [constructor,static] MkBufferListC MkBufferListC.new(?size:int32=0?) C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet pymkkernel_MkBufferListC_CreateTLS (OtClass_ARGS)
  Python: [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

◆ pymkkernel_MkBufferListC_Create()

static OT_ProcRet pymkkernel_MkBufferListC_Create ( OtClass_ARGS )
static

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

Definition at line 1247 of file MkBufferListC_py.c.

1247 {
1250 MK_NUM size = 0;
1253 MK_BFL retVal = MkBufferListCreate (size);
1254 if (retVal == NULL) {
1255 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1256 goto error;
1257 }
1258 OT_CONSTRUCTOR_POST(retVal)
1259 OT_retObj_SET_BFL(retVal);
1260 goto end;
1261 error:
1263 end:
1265}
#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…

◆ pymkkernel_MkBufferListC_CreateLA()

static OT_ProcRet pymkkernel_MkBufferListC_CreateLA ( OtClass_ARGS )
static

Python: [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 1268 of file MkBufferListC_py.c.

1268 {
1271 MkBufferListCreateTLS_T(args,10);
1274 MK_BFL retVal = MkBufferListCreateLA (args);
1275 if (retVal == NULL) {
1276 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1277 goto error;
1278 }
1279 OT_retObj_SET_BFL(retVal);
1280 goto end;
1281 error:
1283 end:
1285}
#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)

◆ pymkkernel_MkBufferListC_CreateTLS()

static OT_ProcRet pymkkernel_MkBufferListC_CreateTLS ( OtClass_ARGS )
static

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

Definition at line 1310 of file MkBufferListC_py.c.

1310 {
1313 MK_STRN tlsName = 0;
1315 MK_BOOL resetB = true;
1318 MK_BFL retVal = MkBufferListCreateTLS (tlsName, resetB);
1319 OT_retObj_SET_BFL(retVal);
1320 goto end;
1321 error:
1323 end:
1325}
#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

◆ pymkkernel_MkBufferListC_Dup()

static OT_ProcRet pymkkernel_MkBufferListC_Dup ( MkBufferListC_ARGS )
static

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

Definition at line 1227 of file MkBufferListC_py.c.

1227 {
1231 MK_BFL retVal = MkBufferListDup (hdl);
1232 if (retVal == NULL) {
1233 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1234 goto error;
1235 }
1236 OT_retObj_SET_BFL(retVal);
1237 goto end;
1238 error:
1240 end:
1242}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferListDup(...)

◆ pymkkernel_MkBufferListC_Merge()

static OT_ProcRet pymkkernel_MkBufferListC_Merge ( MkBufferListC_ARGS )
static

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

Definition at line 1207 of file MkBufferListC_py.c.

1207 {
1211 MK_BFL retVal = MkBufferListMerge (hdl);
1212 if (retVal == NULL) {
1213 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1214 goto error;
1215 }
1216 OT_retObj_SET_BFL(retVal);
1217 goto end;
1218 error:
1220 end:
1222}
#define Merge_doc
#define MkBufferListMerge(...)

◆ pymkkernel_MkBufferListC_new()

static OT_ProcRet pymkkernel_MkBufferListC_new ( CONSTR_ARGS )
static

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

Definition at line 1288 of file MkBufferListC_py.c.

1288 {
1291 MK_NUM size = 0;
1293 MK_BFL retVal = MkBufferListCreate (size);
1294 if (retVal == NULL) {
1295 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1296 goto error;
1297 }
1298 OT_CONSTRUCTOR_POST(retVal)
1299 OT_retObj_CONSTR(retVal);
1300 goto end;
1301 error:
1303 end:
1305}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_hdl_constr
#define new_doc