theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Index_RB_API

MkBufferListC - various functions to access a MkBufferListS by indexMore...

+ Collaboration diagram for MkBufferListC_Index_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferListC_IndexGetBUF (MkBufferListC_ARGS)
  Ruby: MkBufferC bfl.IndexGetBUF(index:int32) C-API
get the index element from MkBufferListC ... if not available… create it. …
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexExtract (MkBufferListC_ARGS)
  Ruby: MkBufferC bfl.IndexExtract(?index:int32=0?) C-API
extract (read & delete) the index object from bfl
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexGet (MkBufferListC_ARGS)
  Ruby: MkBufferC bfl.IndexGet(index:int32) C-API
get (read only) the index object from bfl
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexDelete (MkBufferListC_ARGS)
  Ruby: bfl.IndexDelete(index:int32, ?numitems:int32=1?, ?doDelete:bool=true?) C-API
delete the index'th list item from the MkBufferListS object …
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexGetSTR (MkBufferListC_ARGS)
  Ruby: string bfl.IndexGetSTR(index:int32) C-API
get the index element from MkBufferListC ... as string. …
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexSet (MkBufferListC_ARGS)
  Ruby: bfl.IndexSet(index:int32, buf:MkBufferC) C-API
set the index object from bfl
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexSetBUF (MkBufferListC_ARGS)
  Ruby: bfl.IndexSetBUF(index:int32, buf:MkBufferC) C-API
set the index element from MkBufferListC ... if not available… createspace …
 
static OT_ProcRet rbmkkernel_MkBufferListC_IndexSetSTR (MkBufferListC_ARGS)
  Ruby: bfl.IndexSetSTR(index:int32, str:string) C-API
set the index element from MkBufferListC ... to string… if not available… create space …
 

Detailed Description

MkBufferListC - various functions to access a MkBufferListS by index

Function Documentation

◆ rbmkkernel_MkBufferListC_IndexDelete()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexDelete ( MkBufferListC_ARGS )
static

Ruby: bfl.IndexDelete(index:int32, ?numitems:int32=1?, ?doDelete:bool=true?) C-API
delete the index'th list item from the MkBufferListS object …

Definition at line 743 of file MkBufferListC_rb.c.

743 {
746 MK_NUM index = 0;
748 MK_NUM numitems = 1;
750 MK_BOOL doDelete = true;
753 MkErrorC_Check(hdl,MkBufferListIndexDelete (hdl, index, numitems, doDelete));
755 end: MK_UNUSED /* LONG JUMP on error */
757}
#define OT_CHECK_bool(val)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define IndexDelete_doc
#define MkBufferListIndexDelete(...)
#define MK_UNUSED
mark unnused variables and functions
int32_t MK_NUM
array size data-type ('num' items in array …
bool MK_BOOL
real bool data-type

◆ rbmkkernel_MkBufferListC_IndexExtract()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexExtract ( MkBufferListC_ARGS )
static

Ruby: MkBufferC bfl.IndexExtract(?index:int32=0?) C-API
extract (read & delete) the index object from bfl

Definition at line 713 of file MkBufferListC_rb.c.

713 {
716 MK_NUM index = 0;
719 MK_BUF val_out;
720 MkErrorC_Check(hdl,MkBufferListIndexExtract (hdl, index, &val_out));
721 OT_retObj_SET_BUF(val_out);
722 end: MK_UNUSED /* LONG JUMP on error */
724}
#define OT_retObj_SET_BUF(nat)
#define IndexExtract_doc
#define MkBufferListIndexExtract(...)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ rbmkkernel_MkBufferListC_IndexGet()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexGet ( MkBufferListC_ARGS )
static

Ruby: MkBufferC bfl.IndexGet(index:int32) C-API
get (read only) the index object from bfl

Definition at line 727 of file MkBufferListC_rb.c.

727 {
730 MK_NUM index = 0;
733 MK_BUF val_out;
734 MkErrorC_Check(hdl,MkBufferListIndexGet (hdl, index, &val_out));
735 OT_retObj_SET_BUF(val_out);
736 end: MK_UNUSED /* LONG JUMP on error */
738}
#define OT_SETUP_ONEARG(d)
#define IndexGet_doc
#define MkBufferListIndexGet(...)

◆ rbmkkernel_MkBufferListC_IndexGetBUF()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexGetBUF ( MkBufferListC_ARGS )
static

Ruby: MkBufferC bfl.IndexGetBUF(index:int32) C-API
get the index element from MkBufferListC ... if not available… create it. …

Definition at line 698 of file MkBufferListC_rb.c.

698 {
701 MK_NUM index = 0;
704 MK_BUF retVal = MkBufferListIndexGetBUF (hdl, index);
705 OT_retObj_SET_BUF(retVal);
706 end: MK_UNUSED /* LONG JUMP on error */
708}
#define IndexGetBUF_doc
#define MkBufferListIndexGetBUF(...)

◆ rbmkkernel_MkBufferListC_IndexGetSTR()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexGetSTR ( MkBufferListC_ARGS )
static

Ruby: string bfl.IndexGetSTR(index:int32) C-API
get the index element from MkBufferListC ... as string. …

Definition at line 760 of file MkBufferListC_rb.c.

760 {
763 MK_NUM index = 0;
767 end: MK_UNUSED /* LONG JUMP on error */
769}
#define OT_retObj_SET_STR(nat)
#define IndexGetSTR_doc
#define MkBufferListIndexGetSTR(...)

◆ rbmkkernel_MkBufferListC_IndexSet()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexSet ( MkBufferListC_ARGS )
static

Ruby: bfl.IndexSet(index:int32, buf:MkBufferC) C-API
set the index object from bfl

Definition at line 772 of file MkBufferListC_rb.c.

772 {
775 MK_NUM index = 0;
777 MK_BUF buf = 0;
780 MkErrorC_Check(hdl,MkBufferListIndexSet (hdl, index, buf));
782 end: MK_UNUSED /* LONG JUMP on error */
784}
#define IndexSet_doc
#define MkBufferListIndexSet(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUF(val, nullB)

◆ rbmkkernel_MkBufferListC_IndexSetBUF()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexSetBUF ( MkBufferListC_ARGS )
static

Ruby: bfl.IndexSetBUF(index:int32, buf:MkBufferC) C-API
set the index element from MkBufferListC ... if not available… createspace …

Definition at line 787 of file MkBufferListC_rb.c.

787 {
790 MK_NUM index = 0;
792 MK_BUF buf = 0;
795 MkBufferListIndexSetBUF (hdl, index, buf);
797 end: MK_UNUSED /* LONG JUMP on error */
799}
#define IndexSetBUF_doc
#define MkBufferListIndexSetBUF(...)

◆ rbmkkernel_MkBufferListC_IndexSetSTR()

static OT_ProcRet rbmkkernel_MkBufferListC_IndexSetSTR ( MkBufferListC_ARGS )
static

Ruby: bfl.IndexSetSTR(index:int32, str:string) C-API
set the index element from MkBufferListC ... to string… if not available… create space …

Definition at line 802 of file MkBufferListC_rb.c.

802 {
805 MK_NUM index = 0;
807 MK_STRN str = 0;
810 MkBufferListIndexSetSTR (hdl, index, str);
812 end: MK_UNUSED /* LONG JUMP on error */
814}
#define OT_CHECK_STRN(val)
#define IndexSetSTR_doc
#define MkBufferListIndexSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type