theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_TOR_RB_API

MkBufferStreamC - various functions to create and destroy a MkBufferStreamCMore...

+ Collaboration diagram for MkBufferStreamC_TOR_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferStreamC_Merge (MkBufferStreamC_ARGS)
  Ruby: (constructor) MkBufferStreamC bus.Merge() C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Dup (MkBufferStreamC_ARGS)
  Ruby: (constructor) MkBufferStreamC src.Dup() C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Create (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Create1024 (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create1024(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Create16384 (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create16384(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Create256 (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create256(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_Create64 (OtClass_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create64(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_new (CONSTR_ARGS)
  Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.new(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_CreateTLS (OtClass_ARGS)
  Ruby: (static) MkBufferStreamC MkBufferStreamC.CreateTLS(tlsName:string, ?resetB:bool=true?) C-API
same as BufferStreamCreate but require no cleanup …
 

Detailed Description

MkBufferStreamC - various functions to create and destroy a MkBufferStreamC

Function Documentation

◆ rbmkkernel_MkBufferStreamC_Create()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Create ( OtClass_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …

Definition at line 627 of file MkBufferStreamC_rb.c.

627 {
630 MK_NUM size = 0;
633 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
634 if (retVal == NULL) {
635 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
636 }
637 OT_CONSTRUCTOR_POST(retVal)
638 OT_retObj_SET_BUS(retVal);
639 end: MK_UNUSED /* LONG JUMP on error */
641}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_RETURN
#define OT_ERROR_CONSTRUCTOR(clazz)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_BUS(nat)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define MkBufferStreamCreate(...)
#define MK_UNUSED
mark unnused variables and functions
int32_t MK_NUM
array size data-type ('num' items in array …
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …

◆ rbmkkernel_MkBufferStreamC_Create1024()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Create1024 ( OtClass_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create1024(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …

Definition at line 644 of file MkBufferStreamC_rb.c.

644 {
647 MK_NUM size = 0;
650 MK_BUS retVal = MkBufferStreamCreate1024 (size);
651 if (retVal == NULL) {
652 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
653 }
654 OT_retObj_SET_BUS(retVal);
655 end: MK_UNUSED /* LONG JUMP on error */
657}
#define Create1024_doc
#define MkBufferStreamCreate1024(...)

◆ rbmkkernel_MkBufferStreamC_Create16384()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Create16384 ( OtClass_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create16384(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …

Definition at line 660 of file MkBufferStreamC_rb.c.

660 {
663 MK_NUM size = 0;
666 MK_BUS retVal = MkBufferStreamCreate16384 (size);
667 if (retVal == NULL) {
668 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
669 }
670 OT_retObj_SET_BUS(retVal);
671 end: MK_UNUSED /* LONG JUMP on error */
673}
#define Create16384_doc
#define MkBufferStreamCreate16384(...)

◆ rbmkkernel_MkBufferStreamC_Create256()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Create256 ( OtClass_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create256(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …

Definition at line 676 of file MkBufferStreamC_rb.c.

676 {
679 MK_NUM size = 0;
682 MK_BUS retVal = MkBufferStreamCreate256 (size);
683 if (retVal == NULL) {
684 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
685 }
686 OT_retObj_SET_BUS(retVal);
687 end: MK_UNUSED /* LONG JUMP on error */
689}
#define Create256_doc
#define MkBufferStreamCreate256(...)

◆ rbmkkernel_MkBufferStreamC_Create64()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Create64 ( OtClass_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.Create64(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …

Definition at line 692 of file MkBufferStreamC_rb.c.

692 {
695 MK_NUM size = 0;
698 MK_BUS retVal = MkBufferStreamCreate64 (size);
699 if (retVal == NULL) {
700 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
701 }
702 OT_retObj_SET_BUS(retVal);
703 end: MK_UNUSED /* LONG JUMP on error */
705}
#define Create64_doc
#define MkBufferStreamCreate64(...)

◆ rbmkkernel_MkBufferStreamC_CreateTLS()

static OT_ProcRet rbmkkernel_MkBufferStreamC_CreateTLS ( OtClass_ARGS )
static

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

Definition at line 726 of file MkBufferStreamC_rb.c.

726 {
729 MK_STRN tlsName = 0;
731 MK_BOOL resetB = true;
734 MK_BUS retVal = MkBufferStreamCreateTLS (tlsName, resetB);
735 OT_retObj_SET_BUS(retVal);
736 end: MK_UNUSED /* LONG JUMP on error */
738}
#define OT_CHECK_bool(val)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_STRN(val)
#define CreateTLS_doc
#define OT_SETUP_hdl_static
#define MkBufferStreamCreateTLS(...)
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type

◆ rbmkkernel_MkBufferStreamC_Dup()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Dup ( MkBufferStreamC_ARGS )
static

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

Definition at line 611 of file MkBufferStreamC_rb.c.

611 {
615 MK_BUS retVal = MkBufferStreamDup (hdl);
616 if (retVal == NULL) {
617 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
618 }
619 OT_retObj_SET_BUS(retVal);
620 end: MK_UNUSED /* LONG JUMP on error */
622}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferStreamDup(...)

◆ rbmkkernel_MkBufferStreamC_Merge()

static OT_ProcRet rbmkkernel_MkBufferStreamC_Merge ( MkBufferStreamC_ARGS )
static

Ruby: (constructor) MkBufferStreamC bus.Merge() C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …

Definition at line 595 of file MkBufferStreamC_rb.c.

595 {
599 MK_BUS retVal = MkBufferStreamMerge (hdl);
600 if (retVal == NULL) {
601 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
602 }
603 OT_retObj_SET_BUS(retVal);
604 end: MK_UNUSED /* LONG JUMP on error */
606}
#define Merge_doc
#define MkBufferStreamMerge(...)

◆ rbmkkernel_MkBufferStreamC_new()

static OT_ProcRet rbmkkernel_MkBufferStreamC_new ( CONSTR_ARGS )
static

Ruby: (constructor,static) MkBufferStreamC MkBufferStreamC.new(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …

Definition at line 708 of file MkBufferStreamC_rb.c.

708 {
711 MK_NUM size = 0;
713 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
714 if (retVal == NULL) {
715 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
716 }
717 OT_CONSTRUCTOR_POST(retVal)
718 OT_retObj_CONSTR(retVal);
719 end: MK_UNUSED /* LONG JUMP on error */
721}
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_SETUP_hdl_constr
#define new_doc