theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Set_PY_API

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

+ Collaboration diagram for MkBufferC_Set_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferC_SetBIN (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetBIN C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetBOL (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetBOL C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetBUF (MkBufferC_ARGS)
  Python: MkBufferC buf.SetBUF(val:MkBufferC) C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetBinaryR (MkBufferC_ARGS)
  Python: MkBufferC buf.SetBinaryR(val:binary) C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetDBL (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetDBL C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetFLT (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetFLT C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetI16 (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetI16 C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetI32 (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetI32 C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetI64 (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetI64 C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetI8 (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetI8 C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetSTR (MkBufferC_ARGS)
  Python: doc_mk_py_BufferSetSTR C-API
Set the MkBufferC to the val
 
static OT_ProcRet pymkkernel_MkBufferC_SetStringR (MkBufferC_ARGS)
  Python: MkBufferC buf.SetStringR(val:string) C-API
Set the MkBufferC to the val
 

Detailed Description

MkBufferC - various functions to set buffer-data

Function Documentation

◆ pymkkernel_MkBufferC_SetBIN()

static OT_ProcRet pymkkernel_MkBufferC_SetBIN ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetBIN C-API
Set the MkBufferC to the val

Definition at line 814 of file MkBufferC_py.c.

814 {
817 MkBinaryR val = {0};
820 MK_BUF retVal = MkBufferSetBIN (hdl, val);
821 OT_retObj_SET_BUF(retVal);
822 goto end;
823 error:
825 end:
827}
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#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(...)
binary data default format …
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ pymkkernel_MkBufferC_SetBinaryR()

static OT_ProcRet pymkkernel_MkBufferC_SetBinaryR ( MkBufferC_ARGS )
static

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

Definition at line 862 of file MkBufferC_py.c.

862 {
865 MkBinaryR val = {0};
868 MK_BUF retVal = MkBufferSetBinaryR (hdl, val);
869 OT_retObj_SET_BUF(retVal);
870 goto end;
871 error:
873 end:
875}
#define SetBinaryR_doc
#define MkBufferSetBinaryR(...)

◆ pymkkernel_MkBufferC_SetBOL()

static OT_ProcRet pymkkernel_MkBufferC_SetBOL ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetBOL C-API
Set the MkBufferC to the val

Definition at line 830 of file MkBufferC_py.c.

830 {
833 MK_BOL val = 0;
836 MK_BUF retVal = MkBufferSetBOL (hdl, (MK_BOL)(val?1:0));
837 OT_retObj_SET_BUF(retVal);
838 goto end;
839 error:
841 end:
843}
#define OT_CHECK_NB1(val)
#define SetBOL_doc
#define MkBufferSetBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ pymkkernel_MkBufferC_SetBUF()

static OT_ProcRet pymkkernel_MkBufferC_SetBUF ( MkBufferC_ARGS )
static

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

Definition at line 846 of file MkBufferC_py.c.

846 {
849 MK_BUFN val = 0;
852 MK_BUF retVal = MkBufferSetBUF (hdl, val);
853 OT_retObj_SET_BUF(retVal);
854 goto end;
855 error:
857 end:
859}
#define SetBUF_doc
#define MkBufferSetBUF(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUFN(val, nullB)

◆ pymkkernel_MkBufferC_SetDBL()

static OT_ProcRet pymkkernel_MkBufferC_SetDBL ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetDBL C-API
Set the MkBufferC to the val

Definition at line 878 of file MkBufferC_py.c.

878 {
881 MK_DBL val = 0;
884 MK_BUF retVal = MkBufferSetDBL (hdl, val);
885 OT_retObj_SET_BUF(retVal);
886 goto end;
887 error:
889 end:
891}
#define OT_CHECK_NF8(val)
#define SetDBL_doc
#define MkBufferSetDBL(...)
double MK_DBL
8 byte double data-type

◆ pymkkernel_MkBufferC_SetFLT()

static OT_ProcRet pymkkernel_MkBufferC_SetFLT ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetFLT C-API
Set the MkBufferC to the val

Definition at line 894 of file MkBufferC_py.c.

894 {
897 MK_FLT val = 0;
900 MK_BUF retVal = MkBufferSetFLT (hdl, val);
901 OT_retObj_SET_BUF(retVal);
902 goto end;
903 error:
905 end:
907}
#define OT_CHECK_NF4(val)
#define SetFLT_doc
#define MkBufferSetFLT(...)
float MK_FLT
4 byte float data-type

◆ pymkkernel_MkBufferC_SetI16()

static OT_ProcRet pymkkernel_MkBufferC_SetI16 ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetI16 C-API
Set the MkBufferC to the val

Definition at line 910 of file MkBufferC_py.c.

910 {
913 MK_I16 val = 0;
916 MK_BUF retVal = MkBufferSetI16 (hdl, val);
917 OT_retObj_SET_BUF(retVal);
918 goto end;
919 error:
921 end:
923}
#define OT_CHECK_NI2(val)
#define SetI16_doc
#define MkBufferSetI16(...)
signed short int MK_I16
2 byte short data-type

◆ pymkkernel_MkBufferC_SetI32()

static OT_ProcRet pymkkernel_MkBufferC_SetI32 ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetI32 C-API
Set the MkBufferC to the val

Definition at line 926 of file MkBufferC_py.c.

926 {
929 MK_I32 val = 0;
932 MK_BUF retVal = MkBufferSetI32 (hdl, val);
933 OT_retObj_SET_BUF(retVal);
934 goto end;
935 error:
937 end:
939}
#define OT_CHECK_NI4(val)
#define SetI32_doc
#define MkBufferSetI32(...)
signed int MK_I32
4 byte integer data-type

◆ pymkkernel_MkBufferC_SetI64()

static OT_ProcRet pymkkernel_MkBufferC_SetI64 ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetI64 C-API
Set the MkBufferC to the val

Definition at line 942 of file MkBufferC_py.c.

942 {
945 MK_I64 val = 0;
948 MK_BUF retVal = MkBufferSetI64 (hdl, val);
949 OT_retObj_SET_BUF(retVal);
950 goto end;
951 error:
953 end:
955}
#define OT_CHECK_NI8(val)
#define SetI64_doc
#define MkBufferSetI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ pymkkernel_MkBufferC_SetI8()

static OT_ProcRet pymkkernel_MkBufferC_SetI8 ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetI8 C-API
Set the MkBufferC to the val

Definition at line 958 of file MkBufferC_py.c.

958 {
961 MK_I8 val = 0;
964 MK_BUF retVal = MkBufferSetI8 (hdl, (MK_I8)(val));
965 OT_retObj_SET_BUF(retVal);
966 goto end;
967 error:
969 end:
971}
#define OT_CHECK_NI1(val)
#define SetI8_doc
#define MkBufferSetI8(...)
signed char MK_I8
1 byte byte data-type

◆ pymkkernel_MkBufferC_SetSTR()

static OT_ProcRet pymkkernel_MkBufferC_SetSTR ( MkBufferC_ARGS )
static

Python: doc_mk_py_BufferSetSTR C-API
Set the MkBufferC to the val

Definition at line 974 of file MkBufferC_py.c.

974 {
977 MK_STRN val = 0;
980 MK_BUF retVal = MkBufferSetSTR (hdl, val);
981 OT_retObj_SET_BUF(retVal);
982 goto end;
983 error:
985 end:
987}
#define OT_CHECK_STRN(val)
#define SetSTR_doc
#define MkBufferSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ pymkkernel_MkBufferC_SetStringR()

static OT_ProcRet pymkkernel_MkBufferC_SetStringR ( MkBufferC_ARGS )
static

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

Definition at line 990 of file MkBufferC_py.c.

990 {
993 MkStringR val = {0};
996 MK_BUF retVal = MkBufferSetStringR (hdl, val);
997 OT_retObj_SET_BUF(retVal);
998 goto end;
999 error:
1001 end:
1003}
#define OT_CHECK__ME_REF_MkStringR(val)
#define SetStringR_doc
#define MkBufferSetStringR(...)
string data default format …