theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_TOR_TCL_API

MkBufferStreamC - various functions to create and destroy a MkBufferStreamCMore...

+ Collaboration diagram for MkBufferStreamC_TOR_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferStreamC_Merge (MkBufferStreamC_ARGS)
  Tcl: (constructor) MkBufferStreamC [$bus Merge] C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Dup (MkBufferStreamC_ARGS)
  Tcl: (constructor) MkBufferStreamC [$src Dup] C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC CTOR ?size:int32=0?] C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Create (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create ?size:int32=0?] C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Create1024 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create1024 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Create16384 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create16384 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Create256 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create256 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_Create64 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create64 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferStreamC_CreateTLS (OtClass_ARGS)
  Tcl: (static) MkBufferStreamC [MkBufferStreamC CreateTLS tlsName:string ?resetB:bool=true?] C-API
same as BufferStreamCreate but require no cleanup …
 

Detailed Description

MkBufferStreamC - various functions to create and destroy a MkBufferStreamC

Function Documentation

◆ tclmkkernel_MkBufferStreamC_Create()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Create ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create ?size:int32=0?] C-API
create and initialize an MkBufferStreamC instance …

Definition at line 743 of file MkBufferStreamC_tcl.c.

743 {
746 MK_NUM size = 0;
749 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
750 if (retVal == NULL) {
751 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
752 goto error;
753 }
754 OT_CONSTRUCTOR_POST(retVal)
755 OT_retObj_SET_BUS(retVal);
756 goto end;
757 error:
759 end:
761}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_BUS(nat)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define MkBufferStreamCreate(...)
int32_t MK_NUM
array size data-type ('num' items in array …
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …

◆ tclmkkernel_MkBufferStreamC_Create1024()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Create1024 ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create1024 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …

Definition at line 764 of file MkBufferStreamC_tcl.c.

764 {
767 MK_NUM size = 0;
770 MK_BUS retVal = MkBufferStreamCreate1024 (size);
771 if (retVal == NULL) {
772 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
773 goto error;
774 }
775 OT_retObj_SET_BUS(retVal);
776 goto end;
777 error:
779 end:
781}
#define Create1024_doc
#define MkBufferStreamCreate1024(...)

◆ tclmkkernel_MkBufferStreamC_Create16384()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Create16384 ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create16384 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …

Definition at line 784 of file MkBufferStreamC_tcl.c.

784 {
787 MK_NUM size = 0;
790 MK_BUS retVal = MkBufferStreamCreate16384 (size);
791 if (retVal == NULL) {
792 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
793 goto error;
794 }
795 OT_retObj_SET_BUS(retVal);
796 goto end;
797 error:
799 end:
801}
#define Create16384_doc
#define MkBufferStreamCreate16384(...)

◆ tclmkkernel_MkBufferStreamC_Create256()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Create256 ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create256 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …

Definition at line 804 of file MkBufferStreamC_tcl.c.

804 {
807 MK_NUM size = 0;
810 MK_BUS retVal = MkBufferStreamCreate256 (size);
811 if (retVal == NULL) {
812 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
813 goto error;
814 }
815 OT_retObj_SET_BUS(retVal);
816 goto end;
817 error:
819 end:
821}
#define Create256_doc
#define MkBufferStreamCreate256(...)

◆ tclmkkernel_MkBufferStreamC_Create64()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Create64 ( OtClass_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC Create64 ?size:int32=0?] C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …

Definition at line 824 of file MkBufferStreamC_tcl.c.

824 {
827 MK_NUM size = 0;
830 MK_BUS retVal = MkBufferStreamCreate64 (size);
831 if (retVal == NULL) {
832 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
833 goto error;
834 }
835 OT_retObj_SET_BUS(retVal);
836 goto end;
837 error:
839 end:
841}
#define Create64_doc
#define MkBufferStreamCreate64(...)

◆ tclmkkernel_MkBufferStreamC_CreateTLS()

static OT_ProcRet tclmkkernel_MkBufferStreamC_CreateTLS ( OtClass_ARGS )
static

Tcl: (static) MkBufferStreamC [MkBufferStreamC CreateTLS tlsName:string ?resetB:bool=true?] C-API
same as BufferStreamCreate but require no cleanup …

Definition at line 846 of file MkBufferStreamC_tcl.c.

846 {
849 MK_STRN tlsName = 0;
851 MK_BOOL resetB = true;
854 MK_BUS retVal = MkBufferStreamCreateTLS (tlsName, resetB);
855 OT_retObj_SET_BUS(retVal);
856 goto end;
857 error:
859 end:
861}
#define OT_CHECK_bool(val)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_STRN(val)
#define CreateTLS_doc
#define OT_SETUP_hdl_static
#define MkBufferStreamCreateTLS(...)
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type

◆ tclmkkernel_MkBufferStreamC_CTOR()

static OT_ProcRet tclmkkernel_MkBufferStreamC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) MkBufferStreamC [MkBufferStreamC CTOR ?size:int32=0?] C-API
create and initialize an MkBufferStreamC instance …

Definition at line 723 of file MkBufferStreamC_tcl.c.

723 {
726 MK_NUM size = 0;
728 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
729 if (retVal == NULL) {
730 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
731 goto error;
732 }
733 OT_CONSTRUCTOR_POST(retVal)
734 OT_retObj_CONSTR(retVal);
735 goto end;
736 error:
738 end:
740}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(x)
#define OT_SETUP_hdl_constr
#define CTOR_doc

◆ tclmkkernel_MkBufferStreamC_Dup()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Dup ( MkBufferStreamC_ARGS )
static

Tcl: (constructor) MkBufferStreamC [$src Dup] C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …

Definition at line 703 of file MkBufferStreamC_tcl.c.

703 {
707 MK_BUS retVal = MkBufferStreamDup (hdl);
708 if (retVal == NULL) {
709 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
710 goto error;
711 }
712 OT_retObj_SET_BUS(retVal);
713 goto end;
714 error:
716 end:
718}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferStreamDup(...)

◆ tclmkkernel_MkBufferStreamC_Merge()

static OT_ProcRet tclmkkernel_MkBufferStreamC_Merge ( MkBufferStreamC_ARGS )
static

Tcl: (constructor) MkBufferStreamC [$bus Merge] C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …

Definition at line 683 of file MkBufferStreamC_tcl.c.

683 {
687 MK_BUS retVal = MkBufferStreamMerge (hdl);
688 if (retVal == NULL) {
689 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
690 goto error;
691 }
692 OT_retObj_SET_BUS(retVal);
693 goto end;
694 error:
696 end:
698}
#define Merge_doc
#define MkBufferStreamMerge(...)