theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Access_PY_API

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

+ Collaboration diagram for MkBufferC_Access_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferC_AppendC (MkBufferC_ARGS)
  Python: MkBufferC buf.AppendC(val:string) C-API
append a single string to a MkBufferC object …
 
static OT_ProcRet pymkkernel_MkBufferC_AppendStringR (MkBufferC_ARGS)
  Python: MkBufferC buf.AppendStringR(val:string) C-API
append a single string to a MkBufferC object …
 
static OT_ProcRet pymkkernel_MkBufferC_Pop (MkBufferC_ARGS)
  Python: int32 buf.Pop(val:string) C-API
delete str from the MkBufferC
 
static OT_ProcRet pymkkernel_MkBufferC_Push (MkBufferC_ARGS)
  Python: int32 buf.Push(val:string) C-API
add str to the MkBufferC
 
OT_ProcRet pymkkernel_MkBufferC_ToObject (MkBufferC_ARGS)
  Python: obj buf.ToObject() C-API
return the native language object from a MkBufferC
 

Detailed Description

MkBufferC - various functions to access buffer-data

Function Documentation

◆ pymkkernel_MkBufferC_AppendC()

static OT_ProcRet pymkkernel_MkBufferC_AppendC ( MkBufferC_ARGS )
static

Python: MkBufferC buf.AppendC(val:string) C-API
append a single string to a MkBufferC object …

Definition at line 209 of file MkBufferC_py.c.

209 {
212 MK_STRN val = 0;
215 MK_BUF retVal = MkBufferAppendC (hdl, val);
216 OT_retObj_SET_BUF(retVal);
217 goto end;
218 error:
220 end:
222}
#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_NOARGS
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl
#define AppendC_doc
#define MkBufferAppendC(...)
const MK_STRB * MK_STRN
constant string pointer data-type
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ pymkkernel_MkBufferC_AppendStringR()

static OT_ProcRet pymkkernel_MkBufferC_AppendStringR ( MkBufferC_ARGS )
static

Python: MkBufferC buf.AppendStringR(val:string) C-API
append a single string to a MkBufferC object …

Definition at line 225 of file MkBufferC_py.c.

225 {
228 MkStringR val = {0};
231 MK_BUF retVal = MkBufferAppendStringR (hdl, val);
232 OT_retObj_SET_BUF(retVal);
233 goto end;
234 error:
236 end:
238}
#define OT_CHECK__ME_REF_MkStringR(val)
#define AppendStringR_doc
#define MkBufferAppendStringR(...)
string data default format …

◆ pymkkernel_MkBufferC_Pop()

static OT_ProcRet pymkkernel_MkBufferC_Pop ( MkBufferC_ARGS )
static

Python: int32 buf.Pop(val:string) C-API
delete str from the MkBufferC

Definition at line 243 of file MkBufferC_py.c.

243 {
246 MK_STRN val = 0;
249 OT_retObj_SET_I32(MkBufferPop (hdl, val));
250 goto end;
251 error:
253 end:
255}
#define OT_retObj_SET_I32(nat)
#define Pop_doc
#define MkBufferPop(...)

◆ pymkkernel_MkBufferC_Push()

static OT_ProcRet pymkkernel_MkBufferC_Push ( MkBufferC_ARGS )
static

Python: int32 buf.Push(val:string) C-API
add str to the MkBufferC

Definition at line 258 of file MkBufferC_py.c.

258 {
261 MK_STRN val = 0;
265 goto end;
266 error:
268 end:
270}
#define Push_doc
#define MkBufferPush(...)

◆ pymkkernel_MkBufferC_ToObject()

OT_ProcRet pymkkernel_MkBufferC_ToObject ( MkBufferC_ARGS )

Python: obj buf.ToObject() C-API
return the native language object from a MkBufferC

Method definition