theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Class_RB_API

MkBufferC - define the class … More...

+ Collaboration diagram for MkBufferC_Class_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferC_HandleResolve (OtClass_ARGS)
  Ruby: (static) MkBufferC MkBufferC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MkBufferC from netHdl or nil if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmkkernel_MkBufferC_HandleGet (MkBufferC_ARGS)
 
static OT_ProcRet rbmkkernel_MkBufferC_Next (MkBufferC_ARGS)
  Ruby: MkBufferC buf.Next() C-API
get next instance from linked-list of MkBufferS type
 
static OT_ProcRet rbmkkernel_MkBufferC_Prev (MkBufferC_ARGS)
  Ruby: MkBufferC buf.Prev() C-API
get previous instance from linked-list of MkBufferS type
 
static OT_ProcRet rbmkkernel_MkBufferC_Instances (OtClass_ARGS)
  Ruby: (static) MkBufferC MkBufferC.Instances() C-API
get head-instance from linked-list of MkBufferS type …
 
static OT_ProcRet rbmkkernel_MkBufferC_GetNull (OtClass_ARGS)
  Ruby: (static) MkBufferC MkBufferC.GetNull() C-API
Null-Slot - return a MkBufferC typed NULL instance …
 

Detailed Description

MkBufferC - define the class …

Function Documentation

◆ rbmkkernel_MkBufferC_GetNull()

static OT_ProcRet rbmkkernel_MkBufferC_GetNull ( OtClass_ARGS )
static

Ruby: (static) MkBufferC MkBufferC.GetNull() C-API
Null-Slot - return a MkBufferC typed NULL instance …

Definition at line 353 of file MkBufferC_rb.c.

353 {
357 MK_BUF retVal = MkBufferGetNull ();
358 OT_retObj_SET_BUF(retVal);
359 end: MK_UNUSED /* LONG JUMP on error */
361}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_BUF(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define GetNull_doc
#define OT_SETUP_hdl_static
static MK_BUF MkBufferGetNull(void)
Null-Slot - return a MkBufferC typed NULL instance …
#define MK_UNUSED
mark unnused variables and functions
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ rbmkkernel_MkBufferC_HandleGet()

MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmkkernel_MkBufferC_HandleGet ( MkBufferC_ARGS )
static

Definition at line 297 of file MkBufferC_rb.c.

#define OT_ERROR_LNG_RETURN

◆ rbmkkernel_MkBufferC_HandleResolve()

static OT_ProcRet rbmkkernel_MkBufferC_HandleResolve ( OtClass_ARGS )
static

Ruby: (static) MkBufferC MkBufferC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MkBufferC from netHdl or nil if invalid…

Definition at line 281 of file MkBufferC_rb.c.

281 {
284 MK_HDL netHdl = 0;
287 MK_BUF retVal = MkBufferHandleResolve (netHdl);
288 OT_retObj_SET_BUF(retVal);
289 end: MK_UNUSED /* LONG JUMP on error */
291}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define HandleResolve_doc
#define MkBufferHandleResolve(...)
int32_t MK_HDL
4 byte int handle data-type
#define OT_CHECK_NIH(val)

◆ rbmkkernel_MkBufferC_Instances()

static OT_ProcRet rbmkkernel_MkBufferC_Instances ( OtClass_ARGS )
static

Ruby: (static) MkBufferC MkBufferC.Instances() C-API
get head-instance from linked-list of MkBufferS type …

Definition at line 333 of file MkBufferC_rb.c.

333 {
337 MK_BUF retVal = MkBufferInstances ();
338 OT_retObj_SET_BUF(retVal);
339 end: MK_UNUSED /* LONG JUMP on error */
341}
#define Instances_doc
#define MkBufferInstances()

◆ rbmkkernel_MkBufferC_Next()

static OT_ProcRet rbmkkernel_MkBufferC_Next ( MkBufferC_ARGS )
static

Ruby: MkBufferC buf.Next() C-API
get next instance from linked-list of MkBufferS type

Definition at line 309 of file MkBufferC_rb.c.

309 {
313 MK_BUF retVal = MkBufferNext (hdl);
314 OT_retObj_SET_BUF(retVal);
315 end: MK_UNUSED /* LONG JUMP on error */
317}
#define OT_SETUP_hdl
#define Next_doc
static MK_BUF MkBufferNext(MK_BUF const buf)
get next instance from linked-list of MkBufferS type

◆ rbmkkernel_MkBufferC_Prev()

static OT_ProcRet rbmkkernel_MkBufferC_Prev ( MkBufferC_ARGS )
static

Ruby: MkBufferC buf.Prev() C-API
get previous instance from linked-list of MkBufferS type

Definition at line 320 of file MkBufferC_rb.c.

320 {
324 MK_BUF retVal = MkBufferPrev (hdl);
325 OT_retObj_SET_BUF(retVal);
326 end: MK_UNUSED /* LONG JUMP on error */
328}
#define Prev_doc
static MK_BUF MkBufferPrev(MK_BUF const buf)
get previous instance from linked-list of MkBufferS type