theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_Write_RB_API

MkBufferStreamC - various functions to write into a MkBufferStreamSMore...

+ Collaboration diagram for MkBufferStreamC_Write_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBFL (MkBufferStreamC_ARGS)
  Ruby: bus.WriteBFL(bfl:MkBufferListC) C-API
write a MkBufferListC into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBIN (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBOL (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBUF (MkBufferStreamC_ARGS)
  Ruby: bus.WriteBUF(val:MkBufferC) C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBUS_FLAT (MkBufferStreamC_ARGS)
  Ruby: bus.WriteBUS_FLAT(add:MkBufferStreamC) C-API
write a MkBufferStreamC into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteDBL (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteFLT (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteHDL (MkBufferStreamC_ARGS)
  Ruby: bus.WriteHDL(val:int32) C-API
write the handle into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI32 (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI64 (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI8 (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteLONG (MkBufferStreamC_ARGS)
  Ruby: bus.WriteLONG(val:long) C-API
write the long native object into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_END (MkBufferStreamC_ARGS)
  Ruby: bus.WriteL_END() C-API
END write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_FLAT (MkBufferStreamC_ARGS)
  Ruby: bus.WriteL_FLAT(bfl:MkBufferListC) C-API
write a MkBufferListC FLAT into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_START (MkBufferStreamC_ARGS)
  Ruby: bus.WriteL_START() C-API
START write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteSTR (MkBufferStreamC_ARGS)
  Ruby: doc_mk_rb_BufferStreamWriteSTR C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 

Detailed Description

MkBufferStreamC - various functions to write into a MkBufferStreamS

Write is done at the position of MkBufferStreamS::storage->cur. After write the cur is incemented with write-sizeof characters.

Function Documentation

◆ rbmkkernel_MkBufferStreamC_WriteBFL()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBFL ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteBFL(bfl:MkBufferListC) C-API
write a MkBufferListC into the MkBufferStreamC

Definition at line 750 of file MkBufferStreamC_rb.c.

750 {
758 end: MK_UNUSED /* LONG JUMP on error */
760}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define WriteBFL_doc
#define MkBufferListCreateTLS_T(name, num)
create a MkBufferListC instance as thread-local-storage …
#define MkBufferStreamWriteBFL(...)
#define MK_NULL_NO
flag, not allow NULL
#define MK_UNUSED
mark unnused variables and functions
#define OT_CHECK_BFLN(val, nullB)

◆ rbmkkernel_MkBufferStreamC_WriteBIN()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBIN ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 763 of file MkBufferStreamC_rb.c.

763 {
766 MkBinaryR val = {0};
771 end: MK_UNUSED /* LONG JUMP on error */
773}
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define WriteBIN_doc
#define MkBufferStreamWriteBIN(...)
binary data default format …

◆ rbmkkernel_MkBufferStreamC_WriteBOL()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBOL ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 776 of file MkBufferStreamC_rb.c.

776 {
779 MK_BOL val = 0;
782 MkErrorC_Check(hdl,MkBufferStreamWriteBOL (hdl, (MK_BOL)(val?1:0)));
784 end: MK_UNUSED /* LONG JUMP on error */
786}
#define OT_CHECK_NB1(val)
#define WriteBOL_doc
#define MkBufferStreamWriteBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ rbmkkernel_MkBufferStreamC_WriteBUF()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBUF ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteBUF(val:MkBufferC) C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 789 of file MkBufferStreamC_rb.c.

789 {
792 MK_BUFN val = 0;
797 end: MK_UNUSED /* LONG JUMP on error */
799}
#define WriteBUF_doc
#define MkBufferStreamWriteBUF(...)
#define OT_CHECK_BUFN(val, nullB)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ rbmkkernel_MkBufferStreamC_WriteBUS_FLAT()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteBUS_FLAT ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteBUS_FLAT(add:MkBufferStreamC) C-API
write a MkBufferStreamC into the MkBufferStreamC

Definition at line 802 of file MkBufferStreamC_rb.c.

802 {
805 MK_BUSN add = 0;
810 end: MK_UNUSED /* LONG JUMP on error */
812}
#define WriteBUS_FLAT_doc
#define MkBufferStreamWriteBUS_FLAT(...)
#define OT_CHECK_BUSN(val, nullB)
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …

◆ rbmkkernel_MkBufferStreamC_WriteDBL()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteDBL ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 815 of file MkBufferStreamC_rb.c.

815 {
818 MK_DBL val = 0;
823 end: MK_UNUSED /* LONG JUMP on error */
825}
#define OT_CHECK_NF8(val)
#define WriteDBL_doc
#define MkBufferStreamWriteDBL(...)
double MK_DBL
8 byte double data-type

◆ rbmkkernel_MkBufferStreamC_WriteFLT()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteFLT ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 828 of file MkBufferStreamC_rb.c.

828 {
831 MK_FLT val = 0;
836 end: MK_UNUSED /* LONG JUMP on error */
838}
#define OT_CHECK_NF4(val)
#define WriteFLT_doc
#define MkBufferStreamWriteFLT(...)
float MK_FLT
4 byte float data-type

◆ rbmkkernel_MkBufferStreamC_WriteHDL()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteHDL ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteHDL(val:int32) C-API
write the handle into the MkBufferStreamC

Definition at line 841 of file MkBufferStreamC_rb.c.

841 {
844 MK_I32 val = 0;
849 end: MK_UNUSED /* LONG JUMP on error */
851}
#define OT_CHECK_NI4(val)
#define WriteHDL_doc
#define MkBufferStreamWriteHDL(...)
signed int MK_I32
4 byte integer data-type

◆ rbmkkernel_MkBufferStreamC_WriteI32()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI32 ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 854 of file MkBufferStreamC_rb.c.

854 {
857 MK_I32 val = 0;
862 end: MK_UNUSED /* LONG JUMP on error */
864}
#define WriteI32_doc
#define MkBufferStreamWriteI32(...)

◆ rbmkkernel_MkBufferStreamC_WriteI64()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI64 ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 867 of file MkBufferStreamC_rb.c.

867 {
870 MK_I64 val = 0;
875 end: MK_UNUSED /* LONG JUMP on error */
877}
#define OT_CHECK_NI8(val)
#define WriteI64_doc
#define MkBufferStreamWriteI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ rbmkkernel_MkBufferStreamC_WriteI8()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteI8 ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 880 of file MkBufferStreamC_rb.c.

880 {
883 MK_I8 val = 0;
886 MkErrorC_Check(hdl,MkBufferStreamWriteI8 (hdl, (MK_I8)(val)));
888 end: MK_UNUSED /* LONG JUMP on error */
890}
#define OT_CHECK_NI1(val)
#define WriteI8_doc
#define MkBufferStreamWriteI8(...)
signed char MK_I8
1 byte byte data-type

◆ rbmkkernel_MkBufferStreamC_WriteL_END()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_END ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteL_END() C-API
END write a list-item-type into the MkBufferStreamC

Definition at line 906 of file MkBufferStreamC_rb.c.

906 {
912 end: MK_UNUSED /* LONG JUMP on error */
914}
#define OT_SETUP_NOARG(d)
#define WriteL_END_doc
#define MkBufferStreamWriteL_END(...)

◆ rbmkkernel_MkBufferStreamC_WriteL_FLAT()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_FLAT ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteL_FLAT(bfl:MkBufferListC) C-API
write a MkBufferListC FLAT into the MkBufferStreamC

Definition at line 917 of file MkBufferStreamC_rb.c.

917 {
925 end: MK_UNUSED /* LONG JUMP on error */
927}
#define WriteL_FLAT_doc
#define MkBufferStreamWriteL_FLAT(...)
#define OT_CHECK_BFL(val, nullB)

◆ rbmkkernel_MkBufferStreamC_WriteL_START()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteL_START ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteL_START() C-API
START write a list-item-type into the MkBufferStreamC

Definition at line 930 of file MkBufferStreamC_rb.c.

930 {
936 end: MK_UNUSED /* LONG JUMP on error */
938}
#define WriteL_START_doc
#define MkBufferStreamWriteL_START(...)

◆ rbmkkernel_MkBufferStreamC_WriteLONG()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteLONG ( MkBufferStreamC_ARGS )
static

Ruby: bus.WriteLONG(val:long) C-API
write the long native object into the MkBufferStreamC

Definition at line 893 of file MkBufferStreamC_rb.c.

893 {
896 MK_LONG val = 0;
901 end: MK_UNUSED /* LONG JUMP on error */
903}
#define OT_CHECK_NIL(val)
#define WriteLONG_doc
#define MkBufferStreamWriteLONG(...)
long MK_LONG
4/8 byte long data-type

◆ rbmkkernel_MkBufferStreamC_WriteSTR()

static OT_ProcRet rbmkkernel_MkBufferStreamC_WriteSTR ( MkBufferStreamC_ARGS )
static

Ruby: doc_mk_rb_BufferStreamWriteSTR C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 941 of file MkBufferStreamC_rb.c.

941 {
944 MK_STRN val = 0;
946 MK_NUM len = -1;
949 MkErrorC_Check(hdl,MkBufferStreamWriteSTR (hdl, val, len));
951 end: MK_UNUSED /* LONG JUMP on error */
953}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define WriteSTR_doc
#define MkBufferStreamWriteSTR(...)
int32_t MK_NUM
array size data-type ('num' items in array …
const MK_STRB * MK_STRN
constant string pointer data-type