theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Set_RB_API

MkBufferC - various functions to set buffer-dataMore...

+ Collaboration diagram for MkBufferC_Set_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferC_SetBIN (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetBIN C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetBOL (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetBOL C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetBUF (MkBufferC_ARGS)
  Ruby: MkBufferC buf.SetBUF(val:MkBufferC) C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetBinaryR (MkBufferC_ARGS)
  Ruby: MkBufferC buf.SetBinaryR(val:binary) C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetDBL (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetDBL C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetFLT (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetFLT C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetI16 (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetI16 C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetI32 (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetI32 C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetI64 (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetI64 C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetI8 (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetI8 C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetSTR (MkBufferC_ARGS)
  Ruby: doc_mk_rb_BufferSetSTR C-API
Set the MkBufferC to the val
 
static OT_ProcRet rbmkkernel_MkBufferC_SetStringR (MkBufferC_ARGS)
  Ruby: MkBufferC buf.SetStringR(val:string) C-API
Set the MkBufferC to the val
 

Detailed Description

MkBufferC - various functions to set buffer-data

Function Documentation

◆ rbmkkernel_MkBufferC_SetBIN()

static OT_ProcRet rbmkkernel_MkBufferC_SetBIN ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetBIN C-API
Set the MkBufferC to the val

Definition at line 718 of file MkBufferC_rb.c.

718 {
721 MkBinaryR val = {0};
724 MK_BUF retVal = MkBufferSetBIN (hdl, val);
725 OT_retObj_SET_BUF(retVal);
726 end: MK_UNUSED /* LONG JUMP on error */
728}
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_BUF(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define SetBIN_doc
#define MkBufferSetBIN(...)
#define MK_UNUSED
mark unnused variables and functions
binary data default format …
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ rbmkkernel_MkBufferC_SetBinaryR()

static OT_ProcRet rbmkkernel_MkBufferC_SetBinaryR ( MkBufferC_ARGS )
static

Ruby: MkBufferC buf.SetBinaryR(val:binary) C-API
Set the MkBufferC to the val

Definition at line 757 of file MkBufferC_rb.c.

757 {
760 MkBinaryR val = {0};
763 MK_BUF retVal = MkBufferSetBinaryR (hdl, val);
764 OT_retObj_SET_BUF(retVal);
765 end: MK_UNUSED /* LONG JUMP on error */
767}
#define SetBinaryR_doc
#define MkBufferSetBinaryR(...)

◆ rbmkkernel_MkBufferC_SetBOL()

static OT_ProcRet rbmkkernel_MkBufferC_SetBOL ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetBOL C-API
Set the MkBufferC to the val

Definition at line 731 of file MkBufferC_rb.c.

731 {
734 MK_BOL val = 0;
737 MK_BUF retVal = MkBufferSetBOL (hdl, (MK_BOL)(val?1:0));
738 OT_retObj_SET_BUF(retVal);
739 end: MK_UNUSED /* LONG JUMP on error */
741}
#define OT_CHECK_NB1(val)
#define SetBOL_doc
#define MkBufferSetBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ rbmkkernel_MkBufferC_SetBUF()

static OT_ProcRet rbmkkernel_MkBufferC_SetBUF ( MkBufferC_ARGS )
static

Ruby: MkBufferC buf.SetBUF(val:MkBufferC) C-API
Set the MkBufferC to the val

Definition at line 744 of file MkBufferC_rb.c.

744 {
747 MK_BUFN val = 0;
750 MK_BUF retVal = MkBufferSetBUF (hdl, val);
751 OT_retObj_SET_BUF(retVal);
752 end: MK_UNUSED /* LONG JUMP on error */
754}
#define SetBUF_doc
#define MkBufferSetBUF(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUFN(val, nullB)

◆ rbmkkernel_MkBufferC_SetDBL()

static OT_ProcRet rbmkkernel_MkBufferC_SetDBL ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetDBL C-API
Set the MkBufferC to the val

Definition at line 770 of file MkBufferC_rb.c.

770 {
773 MK_DBL val = 0;
776 MK_BUF retVal = MkBufferSetDBL (hdl, val);
777 OT_retObj_SET_BUF(retVal);
778 end: MK_UNUSED /* LONG JUMP on error */
780}
#define OT_CHECK_NF8(val)
#define SetDBL_doc
#define MkBufferSetDBL(...)
double MK_DBL
8 byte double data-type

◆ rbmkkernel_MkBufferC_SetFLT()

static OT_ProcRet rbmkkernel_MkBufferC_SetFLT ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetFLT C-API
Set the MkBufferC to the val

Definition at line 783 of file MkBufferC_rb.c.

783 {
786 MK_FLT val = 0;
789 MK_BUF retVal = MkBufferSetFLT (hdl, val);
790 OT_retObj_SET_BUF(retVal);
791 end: MK_UNUSED /* LONG JUMP on error */
793}
#define OT_CHECK_NF4(val)
#define SetFLT_doc
#define MkBufferSetFLT(...)
float MK_FLT
4 byte float data-type

◆ rbmkkernel_MkBufferC_SetI16()

static OT_ProcRet rbmkkernel_MkBufferC_SetI16 ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetI16 C-API
Set the MkBufferC to the val

Definition at line 796 of file MkBufferC_rb.c.

796 {
799 MK_I16 val = 0;
802 MK_BUF retVal = MkBufferSetI16 (hdl, val);
803 OT_retObj_SET_BUF(retVal);
804 end: MK_UNUSED /* LONG JUMP on error */
806}
#define OT_CHECK_NI2(val)
#define SetI16_doc
#define MkBufferSetI16(...)
signed short int MK_I16
2 byte short data-type

◆ rbmkkernel_MkBufferC_SetI32()

static OT_ProcRet rbmkkernel_MkBufferC_SetI32 ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetI32 C-API
Set the MkBufferC to the val

Definition at line 809 of file MkBufferC_rb.c.

809 {
812 MK_I32 val = 0;
815 MK_BUF retVal = MkBufferSetI32 (hdl, val);
816 OT_retObj_SET_BUF(retVal);
817 end: MK_UNUSED /* LONG JUMP on error */
819}
#define OT_CHECK_NI4(val)
#define SetI32_doc
#define MkBufferSetI32(...)
signed int MK_I32
4 byte integer data-type

◆ rbmkkernel_MkBufferC_SetI64()

static OT_ProcRet rbmkkernel_MkBufferC_SetI64 ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetI64 C-API
Set the MkBufferC to the val

Definition at line 822 of file MkBufferC_rb.c.

822 {
825 MK_I64 val = 0;
828 MK_BUF retVal = MkBufferSetI64 (hdl, val);
829 OT_retObj_SET_BUF(retVal);
830 end: MK_UNUSED /* LONG JUMP on error */
832}
#define OT_CHECK_NI8(val)
#define SetI64_doc
#define MkBufferSetI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ rbmkkernel_MkBufferC_SetI8()

static OT_ProcRet rbmkkernel_MkBufferC_SetI8 ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetI8 C-API
Set the MkBufferC to the val

Definition at line 835 of file MkBufferC_rb.c.

835 {
838 MK_I8 val = 0;
841 MK_BUF retVal = MkBufferSetI8 (hdl, (MK_I8)(val));
842 OT_retObj_SET_BUF(retVal);
843 end: MK_UNUSED /* LONG JUMP on error */
845}
#define OT_CHECK_NI1(val)
#define SetI8_doc
#define MkBufferSetI8(...)
signed char MK_I8
1 byte byte data-type

◆ rbmkkernel_MkBufferC_SetSTR()

static OT_ProcRet rbmkkernel_MkBufferC_SetSTR ( MkBufferC_ARGS )
static

Ruby: doc_mk_rb_BufferSetSTR C-API
Set the MkBufferC to the val

Definition at line 848 of file MkBufferC_rb.c.

848 {
851 MK_STRN val = 0;
854 MK_BUF retVal = MkBufferSetSTR (hdl, val);
855 OT_retObj_SET_BUF(retVal);
856 end: MK_UNUSED /* LONG JUMP on error */
858}
#define OT_CHECK_STRN(val)
#define SetSTR_doc
#define MkBufferSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ rbmkkernel_MkBufferC_SetStringR()

static OT_ProcRet rbmkkernel_MkBufferC_SetStringR ( MkBufferC_ARGS )
static

Ruby: MkBufferC buf.SetStringR(val:string) C-API
Set the MkBufferC to the val

Definition at line 861 of file MkBufferC_rb.c.

861 {
864 MkStringR val = {0};
867 MK_BUF retVal = MkBufferSetStringR (hdl, val);
868 OT_retObj_SET_BUF(retVal);
869 end: MK_UNUSED /* LONG JUMP on error */
871}
#define OT_CHECK__ME_REF_MkStringR(val)
#define SetStringR_doc
#define MkBufferSetStringR(...)
string data default format …