theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_TOR_PY_API

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

+ Collaboration diagram for MkBufferStreamC_TOR_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferStreamC_Merge (MkBufferStreamC_ARGS)
  Python: [constructor] MkBufferStreamC bus.Merge() C-API
Merge-Constructor - create a new MkBufferStreamC as a merge from an existing object …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Dup (MkBufferStreamC_ARGS)
  Python: [constructor] MkBufferStreamC src.Dup() C-API
Dup-Constructor - create a new MkBufferStreamC instance as copy from an existing MkBufferStreamC instance …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Create (OtClass_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.Create(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Create1024 (OtClass_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.Create1024(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream1024S (1024 byte) …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Create16384 (OtClass_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.Create16384(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream16384S (16384 byte) …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Create256 (OtClass_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.Create256(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream256S (256 byte) …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_Create64 (OtClass_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.Create64(?size:int32=0?) C-API
call the BufferStreamCreate with default type MkBufferStream64S (64 byte) …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_new (CONSTR_ARGS)
  Python: [constructor,static] MkBufferStreamC MkBufferStreamC.new(?size:int32=0?) C-API
create and initialize an MkBufferStreamC instance …
 
static OT_ProcRet pymkkernel_MkBufferStreamC_CreateTLS (OtClass_ARGS)
  Python: [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

◆ pymkkernel_MkBufferStreamC_Create()

static OT_ProcRet pymkkernel_MkBufferStreamC_Create ( OtClass_ARGS )
static

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

Definition at line 711 of file MkBufferStreamC_py.c.

711 {
714 MK_NUM size = 0;
717 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
718 if (retVal == NULL) {
719 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
720 goto error;
721 }
722 OT_CONSTRUCTOR_POST(retVal)
723 OT_retObj_SET_BUS(retVal);
724 goto end;
725 error:
727 end:
729}
#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 …

◆ pymkkernel_MkBufferStreamC_Create1024()

static OT_ProcRet pymkkernel_MkBufferStreamC_Create1024 ( OtClass_ARGS )
static

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

Definition at line 732 of file MkBufferStreamC_py.c.

732 {
735 MK_NUM size = 0;
738 MK_BUS retVal = MkBufferStreamCreate1024 (size);
739 if (retVal == NULL) {
740 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
741 goto error;
742 }
743 OT_retObj_SET_BUS(retVal);
744 goto end;
745 error:
747 end:
749}
#define Create1024_doc
#define MkBufferStreamCreate1024(...)

◆ pymkkernel_MkBufferStreamC_Create16384()

static OT_ProcRet pymkkernel_MkBufferStreamC_Create16384 ( OtClass_ARGS )
static

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

Definition at line 752 of file MkBufferStreamC_py.c.

752 {
755 MK_NUM size = 0;
758 MK_BUS retVal = MkBufferStreamCreate16384 (size);
759 if (retVal == NULL) {
760 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
761 goto error;
762 }
763 OT_retObj_SET_BUS(retVal);
764 goto end;
765 error:
767 end:
769}
#define Create16384_doc
#define MkBufferStreamCreate16384(...)

◆ pymkkernel_MkBufferStreamC_Create256()

static OT_ProcRet pymkkernel_MkBufferStreamC_Create256 ( OtClass_ARGS )
static

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

Definition at line 772 of file MkBufferStreamC_py.c.

772 {
775 MK_NUM size = 0;
778 MK_BUS retVal = MkBufferStreamCreate256 (size);
779 if (retVal == NULL) {
780 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
781 goto error;
782 }
783 OT_retObj_SET_BUS(retVal);
784 goto end;
785 error:
787 end:
789}
#define Create256_doc
#define MkBufferStreamCreate256(...)

◆ pymkkernel_MkBufferStreamC_Create64()

static OT_ProcRet pymkkernel_MkBufferStreamC_Create64 ( OtClass_ARGS )
static

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

Definition at line 792 of file MkBufferStreamC_py.c.

792 {
795 MK_NUM size = 0;
798 MK_BUS retVal = MkBufferStreamCreate64 (size);
799 if (retVal == NULL) {
800 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
801 goto error;
802 }
803 OT_retObj_SET_BUS(retVal);
804 goto end;
805 error:
807 end:
809}
#define Create64_doc
#define MkBufferStreamCreate64(...)

◆ pymkkernel_MkBufferStreamC_CreateTLS()

static OT_ProcRet pymkkernel_MkBufferStreamC_CreateTLS ( OtClass_ARGS )
static

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

Definition at line 834 of file MkBufferStreamC_py.c.

834 {
837 MK_STRN tlsName = 0;
839 MK_BOOL resetB = true;
842 MK_BUS retVal = MkBufferStreamCreateTLS (tlsName, resetB);
843 OT_retObj_SET_BUS(retVal);
844 goto end;
845 error:
847 end:
849}
#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

◆ pymkkernel_MkBufferStreamC_Dup()

static OT_ProcRet pymkkernel_MkBufferStreamC_Dup ( MkBufferStreamC_ARGS )
static

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

Definition at line 691 of file MkBufferStreamC_py.c.

691 {
695 MK_BUS retVal = MkBufferStreamDup (hdl);
696 if (retVal == NULL) {
697 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
698 goto error;
699 }
700 OT_retObj_SET_BUS(retVal);
701 goto end;
702 error:
704 end:
706}
#define OT_SETUP_NOARG(d)
#define OT_SETUP_hdl
#define Dup_doc
#define MkBufferStreamDup(...)

◆ pymkkernel_MkBufferStreamC_Merge()

static OT_ProcRet pymkkernel_MkBufferStreamC_Merge ( MkBufferStreamC_ARGS )
static

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

Definition at line 671 of file MkBufferStreamC_py.c.

671 {
675 MK_BUS retVal = MkBufferStreamMerge (hdl);
676 if (retVal == NULL) {
677 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
678 goto error;
679 }
680 OT_retObj_SET_BUS(retVal);
681 goto end;
682 error:
684 end:
686}
#define Merge_doc
#define MkBufferStreamMerge(...)

◆ pymkkernel_MkBufferStreamC_new()

static OT_ProcRet pymkkernel_MkBufferStreamC_new ( CONSTR_ARGS )
static

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

Definition at line 812 of file MkBufferStreamC_py.c.

812 {
815 MK_NUM size = 0;
817 MK_BUS retVal = MkBufferStreamCreate (NULL, size);
818 if (retVal == NULL) {
819 OT_ERROR_CONSTRUCTOR(MkBufferStreamC);
820 goto error;
821 }
822 OT_CONSTRUCTOR_POST(retVal)
823 OT_retObj_CONSTR(retVal);
824 goto end;
825 error:
827 end:
829}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_hdl_constr
#define new_doc