theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_TOR_RB_API

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

+ Collaboration diagram for MkBufferListC_TOR_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferListC_Merge (MkBufferListC_ARGS)
  Ruby: (constructor) MkBufferListC bfl.Merge() C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …
 
static OT_ProcRet rbmkkernel_MkBufferListC_Dup (MkBufferListC_ARGS)
  Ruby: (constructor) MkBufferListC bfl.Dup() C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …
 
static OT_ProcRet rbmkkernel_MkBufferListC_Create (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferListC MkBufferListC.Create(?size:int32=0?) C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet rbmkkernel_MkBufferListC_CreateLA (OtClass_ARGS)
  Ruby: (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 rbmkkernel_MkBufferListC_new (CONSTR_ARGS)
  Ruby: (constructor,static) MkBufferListC MkBufferListC.new(?size:int32=0?) C-API
Constructs a MkBufferC instance with size storage…
 
static OT_ProcRet rbmkkernel_MkBufferListC_CreateTLS (OtClass_ARGS)
  Ruby: (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

◆ rbmkkernel_MkBufferListC_Create()

static OT_ProcRet rbmkkernel_MkBufferListC_Create ( OtClass_ARGS )
static

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

Definition at line 1089 of file MkBufferListC_rb.c.

1089 {
1092 MK_NUM size = 0;
1095 MK_BFL retVal = MkBufferListCreate (size);
1096 if (retVal == NULL) {
1097 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1098 }
1099 OT_CONSTRUCTOR_POST(retVal)
1100 OT_retObj_SET_BFL(retVal);
1101 end: MK_UNUSED /* LONG JUMP on error */
1103}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_SET_BFL(nat)
#define OT_retObj_RETURN
#define OT_ERROR_CONSTRUCTOR(clazz)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define MkBufferListCreate(...)
#define MK_UNUSED
mark unnused variables and functions
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…

◆ rbmkkernel_MkBufferListC_CreateLA()

static OT_ProcRet rbmkkernel_MkBufferListC_CreateLA ( OtClass_ARGS )
static

Ruby: (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 1106 of file MkBufferListC_rb.c.

1106 {
1109 MkBufferListCreateTLS_T(args,10);
1112 MK_BFL retVal = MkBufferListCreateLA (args);
1113 if (retVal == NULL) {
1114 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1115 }
1116 OT_retObj_SET_BFL(retVal);
1117 end: MK_UNUSED /* LONG JUMP on error */
1119}
#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)

◆ rbmkkernel_MkBufferListC_CreateTLS()

static OT_ProcRet rbmkkernel_MkBufferListC_CreateTLS ( OtClass_ARGS )
static

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

Definition at line 1140 of file MkBufferListC_rb.c.

1140 {
1143 MK_STRN tlsName = 0;
1145 MK_BOOL resetB = true;
1148 MK_BFL retVal = MkBufferListCreateTLS (tlsName, resetB);
1149 OT_retObj_SET_BFL(retVal);
1150 end: MK_UNUSED /* LONG JUMP on error */
1152}
#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

◆ rbmkkernel_MkBufferListC_Dup()

static OT_ProcRet rbmkkernel_MkBufferListC_Dup ( MkBufferListC_ARGS )
static

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

Definition at line 1073 of file MkBufferListC_rb.c.

1073 {
1077 MK_BFL retVal = MkBufferListDup (hdl);
1078 if (retVal == NULL) {
1079 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1080 }
1081 OT_retObj_SET_BFL(retVal);
1082 end: MK_UNUSED /* LONG JUMP on error */
1084}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferListDup(...)

◆ rbmkkernel_MkBufferListC_Merge()

static OT_ProcRet rbmkkernel_MkBufferListC_Merge ( MkBufferListC_ARGS )
static

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

Definition at line 1057 of file MkBufferListC_rb.c.

1057 {
1061 MK_BFL retVal = MkBufferListMerge (hdl);
1062 if (retVal == NULL) {
1063 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1064 }
1065 OT_retObj_SET_BFL(retVal);
1066 end: MK_UNUSED /* LONG JUMP on error */
1068}
#define Merge_doc
#define MkBufferListMerge(...)

◆ rbmkkernel_MkBufferListC_new()

static OT_ProcRet rbmkkernel_MkBufferListC_new ( CONSTR_ARGS )
static

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

Definition at line 1122 of file MkBufferListC_rb.c.

1122 {
1125 MK_NUM size = 0;
1127 MK_BFL retVal = MkBufferListCreate (size);
1128 if (retVal == NULL) {
1129 OT_ERROR_CONSTRUCTOR(MkBufferListC);
1130 }
1131 OT_CONSTRUCTOR_POST(retVal)
1132 OT_retObj_CONSTR(retVal);
1133 end: MK_UNUSED /* LONG JUMP on error */
1135}
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_SETUP_hdl_constr
#define new_doc