theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_Write_PY_API

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

+ Collaboration diagram for MkBufferStreamC_Write_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBFL (MkBufferStreamC_ARGS)
  Python: bus.WriteBFL(bfl:MkBufferListC) C-API
write a MkBufferListC into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBIN (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBOL (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBUF (MkBufferStreamC_ARGS)
  Python: bus.WriteBUF(val:MkBufferC) C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBUS_FLAT (MkBufferStreamC_ARGS)
  Python: bus.WriteBUS_FLAT(add:MkBufferStreamC) C-API
write a MkBufferStreamC into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteDBL (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteFLT (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteHDL (MkBufferStreamC_ARGS)
  Python: bus.WriteHDL(val:int32) C-API
write the handle into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI32 (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI64 (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI8 (MkBufferStreamC_ARGS)
  Python: doc_mk_py_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteLONG (MkBufferStreamC_ARGS)
  Python: bus.WriteLONG(val:long) C-API
write the long native object into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_END (MkBufferStreamC_ARGS)
  Python: bus.WriteL_END() C-API
END write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_FLAT (MkBufferStreamC_ARGS)
  Python: bus.WriteL_FLAT(bfl:MkBufferListC) C-API
write a MkBufferListC FLAT into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_START (MkBufferStreamC_ARGS)
  Python: bus.WriteL_START() C-API
START write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet pymkkernel_MkBufferStreamC_WriteSTR (MkBufferStreamC_ARGS)
  Python: doc_mk_py_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

◆ pymkkernel_MkBufferStreamC_WriteBFL()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBFL ( MkBufferStreamC_ARGS )
static

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

Definition at line 861 of file MkBufferStreamC_py.c.

861 {
869 goto end;
870 error:
872 end:
874}
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#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 OT_CHECK_BFLN(val, nullB)

◆ pymkkernel_MkBufferStreamC_WriteBIN()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBIN ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 877 of file MkBufferStreamC_py.c.

877 {
880 MkBinaryR val = {0};
885 goto end;
886 error:
888 end:
890}
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define WriteBIN_doc
#define MkBufferStreamWriteBIN(...)
binary data default format …

◆ pymkkernel_MkBufferStreamC_WriteBOL()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBOL ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 893 of file MkBufferStreamC_py.c.

893 {
896 MK_BOL val = 0;
899 MkErrorC_Check(hdl,MkBufferStreamWriteBOL (hdl, (MK_BOL)(val?1:0)));
901 goto end;
902 error:
904 end:
906}
#define OT_CHECK_NB1(val)
#define WriteBOL_doc
#define MkBufferStreamWriteBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ pymkkernel_MkBufferStreamC_WriteBUF()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBUF ( MkBufferStreamC_ARGS )
static

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

Definition at line 909 of file MkBufferStreamC_py.c.

909 {
912 MK_BUFN val = 0;
917 goto end;
918 error:
920 end:
922}
#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 …

◆ pymkkernel_MkBufferStreamC_WriteBUS_FLAT()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteBUS_FLAT ( MkBufferStreamC_ARGS )
static

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

Definition at line 925 of file MkBufferStreamC_py.c.

925 {
928 MK_BUSN add = 0;
933 goto end;
934 error:
936 end:
938}
#define WriteBUS_FLAT_doc
#define MkBufferStreamWriteBUS_FLAT(...)
#define OT_CHECK_BUSN(val, nullB)
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …

◆ pymkkernel_MkBufferStreamC_WriteDBL()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteDBL ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 941 of file MkBufferStreamC_py.c.

941 {
944 MK_DBL val = 0;
949 goto end;
950 error:
952 end:
954}
#define OT_CHECK_NF8(val)
#define WriteDBL_doc
#define MkBufferStreamWriteDBL(...)
double MK_DBL
8 byte double data-type

◆ pymkkernel_MkBufferStreamC_WriteFLT()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteFLT ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 957 of file MkBufferStreamC_py.c.

957 {
960 MK_FLT val = 0;
965 goto end;
966 error:
968 end:
970}
#define OT_CHECK_NF4(val)
#define WriteFLT_doc
#define MkBufferStreamWriteFLT(...)
float MK_FLT
4 byte float data-type

◆ pymkkernel_MkBufferStreamC_WriteHDL()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteHDL ( MkBufferStreamC_ARGS )
static

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

Definition at line 973 of file MkBufferStreamC_py.c.

973 {
976 MK_I32 val = 0;
981 goto end;
982 error:
984 end:
986}
#define OT_CHECK_NI4(val)
#define WriteHDL_doc
#define MkBufferStreamWriteHDL(...)
signed int MK_I32
4 byte integer data-type

◆ pymkkernel_MkBufferStreamC_WriteI32()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI32 ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 989 of file MkBufferStreamC_py.c.

989 {
992 MK_I32 val = 0;
997 goto end;
998 error:
1000 end:
1002}
#define WriteI32_doc
#define MkBufferStreamWriteI32(...)

◆ pymkkernel_MkBufferStreamC_WriteI64()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI64 ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 1005 of file MkBufferStreamC_py.c.

1005 {
1008 MK_I64 val = 0;
1011 MkErrorC_Check(hdl,MkBufferStreamWriteI64 (hdl, val));
1013 goto end;
1014 error:
1016 end:
1018}
#define OT_CHECK_NI8(val)
#define WriteI64_doc
#define MkBufferStreamWriteI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ pymkkernel_MkBufferStreamC_WriteI8()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteI8 ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 1021 of file MkBufferStreamC_py.c.

1021 {
1024 MK_I8 val = 0;
1027 MkErrorC_Check(hdl,MkBufferStreamWriteI8 (hdl, (MK_I8)(val)));
1029 goto end;
1030 error:
1032 end:
1034}
#define OT_CHECK_NI1(val)
#define WriteI8_doc
#define MkBufferStreamWriteI8(...)
signed char MK_I8
1 byte byte data-type

◆ pymkkernel_MkBufferStreamC_WriteL_END()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_END ( MkBufferStreamC_ARGS )
static

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

Definition at line 1053 of file MkBufferStreamC_py.c.

1053 {
1059 goto end;
1060 error:
1062 end:
1064}
#define OT_SETUP_NOARG(d)
#define WriteL_END_doc
#define MkBufferStreamWriteL_END(...)

◆ pymkkernel_MkBufferStreamC_WriteL_FLAT()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_FLAT ( MkBufferStreamC_ARGS )
static

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

Definition at line 1067 of file MkBufferStreamC_py.c.

1067 {
1075 goto end;
1076 error:
1078 end:
1080}
#define WriteL_FLAT_doc
#define MkBufferStreamWriteL_FLAT(...)
#define OT_CHECK_BFL(val, nullB)

◆ pymkkernel_MkBufferStreamC_WriteL_START()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteL_START ( MkBufferStreamC_ARGS )
static

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

Definition at line 1083 of file MkBufferStreamC_py.c.

1083 {
1089 goto end;
1090 error:
1092 end:
1094}
#define WriteL_START_doc
#define MkBufferStreamWriteL_START(...)

◆ pymkkernel_MkBufferStreamC_WriteLONG()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteLONG ( MkBufferStreamC_ARGS )
static

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

Definition at line 1037 of file MkBufferStreamC_py.c.

1037 {
1040 MK_LONG val = 0;
1045 goto end;
1046 error:
1048 end:
1050}
#define OT_CHECK_NIL(val)
#define WriteLONG_doc
#define MkBufferStreamWriteLONG(...)
long MK_LONG
4/8 byte long data-type

◆ pymkkernel_MkBufferStreamC_WriteSTR()

static OT_ProcRet pymkkernel_MkBufferStreamC_WriteSTR ( MkBufferStreamC_ARGS )
static

Python: doc_mk_py_BufferStreamWriteSTR C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 1097 of file MkBufferStreamC_py.c.

1097 {
1100 MK_STRN val = 0;
1102 MK_NUM len = -1;
1105 MkErrorC_Check(hdl,MkBufferStreamWriteSTR (hdl, val, len));
1107 goto end;
1108 error:
1110 end:
1112}
#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