theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_TOR_ATL_API

MkObjectC - create and destroy a managed-objectMore...

+ Collaboration diagram for MkObjectC_TOR_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkObjectC_Dispose (MkObjectC_ARGS)
  Atl: (destructor) MkObjectC::Dispose $obj C-API
Dispose-Slot - untie the connection between the Native-Atl-Instance and the atlmkkernel-Instance.
 
static OT_ProcRet atlmkkernel_MkObjectC_Delete (MkObjectC_ARGS)
  Atl: (destructor) MkObjectC::Delete $obj C-API
Delete-Slot - delete an instance.
 
static OT_ProcRet atlmkkernel_MkObjectC_DeleteCallbackCleanup (OtClass_ARGS)
  Atl: (static) MkObjectC::DeleteCallbackCleanup ident:string C-API
cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup
 
static OT_ProcRet atlmkkernel_MkObjectC_DeleteCallbackSetup (OtClass_ARGS)
  Atl: (static) MkObjectC::DeleteCallbackSetup ident:string ?callback:callable=NULL? ?filter:string="NULL"? C-API
Create/Delete the instance-delete-callback
 

Detailed Description

MkObjectC - create and destroy a managed-object

Function Documentation

◆ atlmkkernel_MkObjectC_Delete()

static OT_ProcRet atlmkkernel_MkObjectC_Delete ( MkObjectC_ARGS )
static

Atl: (destructor) MkObjectC::Delete $obj C-API
Delete-Slot - delete an instance.

Definition at line 934 of file MkObjectC_atl.c.

934 {
940 goto end;
941 error:
943 end:
945}
#define OT_SELF
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_OBJECT_DELETE(O)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_destr
#define Delete_doc

◆ atlmkkernel_MkObjectC_DeleteCallbackCleanup()

static OT_ProcRet atlmkkernel_MkObjectC_DeleteCallbackCleanup ( OtClass_ARGS )
static

Atl: (static) MkObjectC::DeleteCallbackCleanup ident:string C-API
cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup

Definition at line 950 of file MkObjectC_atl.c.

950 {
953 MK_STRN ident = 0;
958 goto end;
959 error:
961 end:
963}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl_static
#define DeleteCallbackCleanup_doc
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkObjectDeleteCallbackCleanup(...)

◆ atlmkkernel_MkObjectC_DeleteCallbackSetup()

static OT_ProcRet atlmkkernel_MkObjectC_DeleteCallbackSetup ( OtClass_ARGS )
static

Atl: (static) MkObjectC::DeleteCallbackSetup ident:string ?callback:callable=NULL? ?filter:string="NULL"? C-API
Create/Delete the instance-delete-callback

Definition at line 966 of file MkObjectC_atl.c.

966 {
969 MK_STRN ident = 0;
971 OT_SETUP_CALLABLE(callback)
973 MK_STRN filter = NULL;
976 MkObjectDeleteCallF fCall = (callback == NULL ? NULL : NS(ObjectDeleteCall));
977 MkErrorC_Check(MK_ERROR_FORMAT,MkObjectDeleteCallbackSetup (ident, fCall, callback, NS(ObjectDeleteFree), filter));
979 goto end;
980 error:
982 end:
983 OT_CLEANUP_CALLABLE(callback)
985}
#define OT_SETUP_VARARGS(min, max, d)
#define NS(n)
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
#define DeleteCallbackSetup_doc
#define MK_ERROR_FORMAT
#define MkObjectDeleteCallbackSetup(...)
enum MkErrorE(* MkObjectDeleteCallF)(MK_RT mkrt, MK_OBJN const obj, MK_STRN const typeName, MK_HDL const typeHdl, MK_HDL const objHdl, MK_CBP const __data__)
static callback to delete an obj …
#define OT_CHECK_CALLABLE(val)
#define OT_CLEANUP_CALLABLE(val)
#define OT_SETUP_CALLABLE(val)

◆ atlmkkernel_MkObjectC_Dispose()

static OT_ProcRet atlmkkernel_MkObjectC_Dispose ( MkObjectC_ARGS )
static

Atl: (destructor) MkObjectC::Dispose $obj C-API
Dispose-Slot - untie the connection between the Native-Atl-Instance and the atlmkkernel-Instance.

Definition at line 918 of file MkObjectC_atl.c.

918 {
924 goto end;
925 error:
927 end:
929}
#define OT_OBJECT_DISPOSE(O)
#define Dispose_doc