theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Set_TCL_API

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

+ Collaboration diagram for MkBufferC_Set_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferC_SetBIN (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetBIN C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBOL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetBOL C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBUF (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetBUF val:MkBufferC] C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBinaryR (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetBinaryR val:binary] C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetDBL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetDBL C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetFLT (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetFLT C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI16 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI16 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI32 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI32 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI64 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI64 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI8 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI8 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetSTR (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetSTR C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetStringR (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetStringR val:string] C-API
Set the MkBufferC to the val
 

Detailed Description

MkBufferC - various functions to set buffer-data

Function Documentation

◆ tclmkkernel_MkBufferC_SetBIN()

static OT_ProcRet tclmkkernel_MkBufferC_SetBIN ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetBIN C-API
Set the MkBufferC to the val

Definition at line 827 of file MkBufferC_tcl.c.

827 {
830 MkBinaryR val = {0};
833 MK_BUF retVal = MkBufferSetBIN (hdl, val);
834 OT_retObj_SET_BUF(retVal);
835 goto end;
836 error:
838 end:
840}
#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 …

◆ tclmkkernel_MkBufferC_SetBinaryR()

static OT_ProcRet tclmkkernel_MkBufferC_SetBinaryR ( MkBufferC_ARGS )
static

Tcl: MkBufferC [$buf SetBinaryR val:binary] C-API
Set the MkBufferC to the val

Definition at line 875 of file MkBufferC_tcl.c.

875 {
878 MkBinaryR val = {0};
881 MK_BUF retVal = MkBufferSetBinaryR (hdl, val);
882 OT_retObj_SET_BUF(retVal);
883 goto end;
884 error:
886 end:
888}
#define SetBinaryR_doc
#define MkBufferSetBinaryR(...)

◆ tclmkkernel_MkBufferC_SetBOL()

static OT_ProcRet tclmkkernel_MkBufferC_SetBOL ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetBOL C-API
Set the MkBufferC to the val

Definition at line 843 of file MkBufferC_tcl.c.

843 {
846 MK_BOL val = 0;
849 MK_BUF retVal = MkBufferSetBOL (hdl, (MK_BOL)(val?1:0));
850 OT_retObj_SET_BUF(retVal);
851 goto end;
852 error:
854 end:
856}
#define OT_CHECK_NB1(val)
#define SetBOL_doc
#define MkBufferSetBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ tclmkkernel_MkBufferC_SetBUF()

static OT_ProcRet tclmkkernel_MkBufferC_SetBUF ( MkBufferC_ARGS )
static

Tcl: MkBufferC [$buf SetBUF val:MkBufferC] C-API
Set the MkBufferC to the val

Definition at line 859 of file MkBufferC_tcl.c.

859 {
862 MK_BUFN val = 0;
865 MK_BUF retVal = MkBufferSetBUF (hdl, val);
866 OT_retObj_SET_BUF(retVal);
867 goto end;
868 error:
870 end:
872}
#define SetBUF_doc
#define MkBufferSetBUF(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUFN(val, nullB)

◆ tclmkkernel_MkBufferC_SetDBL()

static OT_ProcRet tclmkkernel_MkBufferC_SetDBL ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetDBL C-API
Set the MkBufferC to the val

Definition at line 891 of file MkBufferC_tcl.c.

891 {
894 MK_DBL val = 0;
897 MK_BUF retVal = MkBufferSetDBL (hdl, val);
898 OT_retObj_SET_BUF(retVal);
899 goto end;
900 error:
902 end:
904}
#define OT_CHECK_NF8(val)
#define SetDBL_doc
#define MkBufferSetDBL(...)
double MK_DBL
8 byte double data-type

◆ tclmkkernel_MkBufferC_SetFLT()

static OT_ProcRet tclmkkernel_MkBufferC_SetFLT ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetFLT C-API
Set the MkBufferC to the val

Definition at line 907 of file MkBufferC_tcl.c.

907 {
910 MK_FLT val = 0;
913 MK_BUF retVal = MkBufferSetFLT (hdl, val);
914 OT_retObj_SET_BUF(retVal);
915 goto end;
916 error:
918 end:
920}
#define OT_CHECK_NF4(val)
#define SetFLT_doc
#define MkBufferSetFLT(...)
float MK_FLT
4 byte float data-type

◆ tclmkkernel_MkBufferC_SetI16()

static OT_ProcRet tclmkkernel_MkBufferC_SetI16 ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetI16 C-API
Set the MkBufferC to the val

Definition at line 923 of file MkBufferC_tcl.c.

923 {
926 MK_I16 val = 0;
929 MK_BUF retVal = MkBufferSetI16 (hdl, val);
930 OT_retObj_SET_BUF(retVal);
931 goto end;
932 error:
934 end:
936}
#define OT_CHECK_NI2(val)
#define SetI16_doc
#define MkBufferSetI16(...)
signed short int MK_I16
2 byte short data-type

◆ tclmkkernel_MkBufferC_SetI32()

static OT_ProcRet tclmkkernel_MkBufferC_SetI32 ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetI32 C-API
Set the MkBufferC to the val

Definition at line 939 of file MkBufferC_tcl.c.

939 {
942 MK_I32 val = 0;
945 MK_BUF retVal = MkBufferSetI32 (hdl, val);
946 OT_retObj_SET_BUF(retVal);
947 goto end;
948 error:
950 end:
952}
#define OT_CHECK_NI4(val)
#define SetI32_doc
#define MkBufferSetI32(...)
signed int MK_I32
4 byte integer data-type

◆ tclmkkernel_MkBufferC_SetI64()

static OT_ProcRet tclmkkernel_MkBufferC_SetI64 ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetI64 C-API
Set the MkBufferC to the val

Definition at line 955 of file MkBufferC_tcl.c.

955 {
958 MK_I64 val = 0;
961 MK_BUF retVal = MkBufferSetI64 (hdl, val);
962 OT_retObj_SET_BUF(retVal);
963 goto end;
964 error:
966 end:
968}
#define OT_CHECK_NI8(val)
#define SetI64_doc
#define MkBufferSetI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ tclmkkernel_MkBufferC_SetI8()

static OT_ProcRet tclmkkernel_MkBufferC_SetI8 ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetI8 C-API
Set the MkBufferC to the val

Definition at line 971 of file MkBufferC_tcl.c.

971 {
974 MK_I8 val = 0;
977 MK_BUF retVal = MkBufferSetI8 (hdl, (MK_I8)(val));
978 OT_retObj_SET_BUF(retVal);
979 goto end;
980 error:
982 end:
984}
#define OT_CHECK_NI1(val)
#define SetI8_doc
#define MkBufferSetI8(...)
signed char MK_I8
1 byte byte data-type

◆ tclmkkernel_MkBufferC_SetSTR()

static OT_ProcRet tclmkkernel_MkBufferC_SetSTR ( MkBufferC_ARGS )
static

Tcl: doc_mk_tcl_BufferSetSTR C-API
Set the MkBufferC to the val

Definition at line 987 of file MkBufferC_tcl.c.

987 {
990 MK_STRN val = 0;
993 MK_BUF retVal = MkBufferSetSTR (hdl, val);
994 OT_retObj_SET_BUF(retVal);
995 goto end;
996 error:
998 end:
1000}
#define OT_CHECK_STRN(val)
#define SetSTR_doc
#define MkBufferSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ tclmkkernel_MkBufferC_SetStringR()

static OT_ProcRet tclmkkernel_MkBufferC_SetStringR ( MkBufferC_ARGS )
static

Tcl: MkBufferC [$buf SetStringR val:string] C-API
Set the MkBufferC to the val

Definition at line 1003 of file MkBufferC_tcl.c.

1003 {
1006 MkStringR val = {0};
1009 MK_BUF retVal = MkBufferSetStringR (hdl, val);
1010 OT_retObj_SET_BUF(retVal);
1011 goto end;
1012 error:
1014 end:
1016}
#define OT_CHECK__ME_REF_MkStringR(val)
#define SetStringR_doc
#define MkBufferSetStringR(...)
string data default format …