theKernel 10.0
|
tag: nhi1-release-250425 More...
#include "LibMkKernel_private_atl.h"
#include <stdlib.h>
#include <errno.h>
#include <limits.h>
#include <float.h>
#include <math.h>
#include <ctype.h>
#include "tmpl/mk_type_S_lng.h"
#include "mk_check_atl.h"
#include "utlist_mk.h"
#include "tmpl/mk_misc_ObjAs_lng.h"
#include "tmpl/mk_misc_check_lng.h"
#include "LibMkKernel_registry_atl.h"
Go to the source code of this file.
Macros | |
#define | META_FILE_NAME "MkKernel_atl.c" |
#define | VER TCL_OO_METHOD_VERSION_CURRENT |
#define | OtClass_ARGS OBJCMD_ARGS |
#define | OT_CLASS NULL |
#define | OT_SELF NULL |
#define | OT_SETUP_hdl_static |
#define | MkSetupTmpl() |
#define | MkCleanupTmpl() |
#define | ErrorE_FromInt_doc "MkErrorE [MkKernel::ErrorE_FromInt value:int32]" |
#define | IdSE_FromInt_doc "MkIdSE [MkKernel::IdSE_FromInt value:int32]" |
#define | TimeoutE_FromInt_doc "MkTimeoutE [MkKernel::TimeoutE_FromInt value:int32]" |
#define | TypeE_FromInt_doc "MkTypeE [MkKernel::TypeE_FromInt value:int32]" |
#define | ErrorE_ToInt_doc "int32 [MkKernel::ErrorE_ToInt value:MkErrorE]" |
#define | ErrorE_ToString_doc "string [MkKernel::ErrorE_ToString value:MkErrorE]" |
#define | IdSE_ToInt_doc "int32 [MkKernel::IdSE_ToInt value:MkIdSE]" |
#define | IdSE_ToString_doc "string [MkKernel::IdSE_ToString value:MkIdSE]" |
#define | TimeoutE_ToInt_doc "int32 [MkKernel::TimeoutE_ToInt value:MkTimeoutE]" |
#define | TimeoutE_ToString_doc "string [MkKernel::TimeoutE_ToString value:MkTimeoutE]" |
#define | TypeE_ToInt_doc "int32 [MkKernel::TypeE_ToInt value:MkTypeE]" |
#define | TypeE_ToString_doc "string [MkKernel::TypeE_ToString value:MkTypeE]" |
#define | Cleanup_doc "MkKernel::Cleanup" |
#define | Setup_doc "MkKernel::Setup" |
#define | AtlClassDefS_SIG 0x88342873 |
#define | ClassDefCreateNN(...) |
#define | AtlClassDefGetTypN(...) |
#define | AtlClassDefGetTypNN(...) |
#define | AtlClassDefGetTypNNN(...) |
#define | FRAME_UPDATE |
#define | FRAME_GET(key) |
#define | Get_Call_Cmd__SIZE 100 |
#define | OT_LNG_STRING(o) |
#define | OT_LNG_STRING_BYTES(o) |
#define | OT_LNG_STRING_LENGTH(o) |
#define | OT_LNG_SKIP_TYPE int |
#define | SIZE 20 |
#define | __printV(_color, _caller, _fmt, ...) |
#define | _printV(fmt, ...) |
#define | objF "[type<%s>, refCount<MQ=%i,TCL=%i,SHARED=%i>, ptr<MQ=%p,TCL=%p>]" |
#define | objA type, (retObj?retObj->refCount:-1),valO->refCount, Tcl_IsShared(valO), retObj, (retObj?retObj->self:NULL) |
#define | AtlRtFree(tok) |
#define | regTclObj2(t, v) |
#define | regTclObj(t) |
#define | regTclCmd(t) |
#define | regTclObj2(t, v) |
#define | regTclObj(t) |
#define | regTclCmd(t) |
#define | regTclObj2(t, v) |
#define | regTclObj(t) |
#define | regTclCmd(t) |
Variables | |
static MK_UNUSED const OtObjProcDefS | atlmkkernel_sOtClassDef [] |
static const OtObjProcDefS | atlmkkernel_sInstanceDef [] |
__thread OT_MK_RT_S | amkrtR = {0} |
tag: nhi1-release-250425
Definition in file LibMkKernel_atl.c.
#define __printV | ( | _color, | |
_caller, | |||
_fmt, | |||
... ) |
Definition at line 900 of file LibMkKernel_atl.c.
#define _printV | ( | fmt, | |
... ) |
Definition at line 902 of file LibMkKernel_atl.c.
#define AtlClassDefGetTypN | ( | ... | ) |
Definition at line 226 of file LibMkKernel_atl.c.
#define AtlClassDefGetTypNN | ( | ... | ) |
Definition at line 229 of file LibMkKernel_atl.c.
#define AtlClassDefGetTypNNN | ( | ... | ) |
Definition at line 232 of file LibMkKernel_atl.c.
#define AtlClassDefS_SIG 0x88342873 |
Definition at line 180 of file LibMkKernel_atl.c.
#define AtlRtFree | ( | tok | ) |
#define ClassDefCreateNN | ( | ... | ) |
Definition at line 211 of file LibMkKernel_atl.c.
#define Cleanup_doc "MkKernel::Cleanup" |
Definition at line 173 of file LibMkKernel_atl.c.
#define ErrorE_FromInt_doc "MkErrorE [MkKernel::ErrorE_FromInt value:int32]" |
Definition at line 157 of file LibMkKernel_atl.c.
#define ErrorE_ToInt_doc "int32 [MkKernel::ErrorE_ToInt value:MkErrorE]" |
Definition at line 163 of file LibMkKernel_atl.c.
#define ErrorE_ToString_doc "string [MkKernel::ErrorE_ToString value:MkErrorE]" |
Definition at line 164 of file LibMkKernel_atl.c.
#define FRAME_GET | ( | key | ) |
Definition at line 394 of file LibMkKernel_atl.c.
#define FRAME_UPDATE |
Definition at line 385 of file LibMkKernel_atl.c.
#define Get_Call_Cmd__SIZE 100 |
#define IdSE_FromInt_doc "MkIdSE [MkKernel::IdSE_FromInt value:int32]" |
Definition at line 158 of file LibMkKernel_atl.c.
#define IdSE_ToInt_doc "int32 [MkKernel::IdSE_ToInt value:MkIdSE]" |
Definition at line 165 of file LibMkKernel_atl.c.
#define IdSE_ToString_doc "string [MkKernel::IdSE_ToString value:MkIdSE]" |
Definition at line 166 of file LibMkKernel_atl.c.
#define META_FILE_NAME "MkKernel_atl.c" |
Definition at line 11 of file LibMkKernel_atl.c.
#define MkCleanupTmpl | ( | ) |
Definition at line 45 of file LibMkKernel_atl.c.
#define MkSetupTmpl | ( | ) |
Definition at line 44 of file LibMkKernel_atl.c.
#define objA type, (retObj?retObj->refCount:-1),valO->refCount, Tcl_IsShared(valO), retObj, (retObj?retObj->self:NULL) |
#define objF "[type<%s>, refCount<MQ=%i,TCL=%i,SHARED=%i>, ptr<MQ=%p,TCL=%p>]" |
#define OT_CLASS NULL |
Definition at line 21 of file LibMkKernel_atl.c.
#define OT_LNG_SKIP_TYPE int |
Definition at line 797 of file LibMkKernel_atl.c.
#define OT_LNG_STRING | ( | o | ) |
Definition at line 793 of file LibMkKernel_atl.c.
#define OT_LNG_STRING_BYTES | ( | o | ) |
Definition at line 795 of file LibMkKernel_atl.c.
#define OT_LNG_STRING_LENGTH | ( | o | ) |
Definition at line 796 of file LibMkKernel_atl.c.
#define OT_SELF NULL |
Definition at line 23 of file LibMkKernel_atl.c.
#define OT_SETUP_hdl_static |
Definition at line 25 of file LibMkKernel_atl.c.
#define OtClass_ARGS OBJCMD_ARGS |
Definition at line 19 of file LibMkKernel_atl.c.
#define regTclCmd | ( | t | ) |
#define regTclCmd | ( | t | ) |
#define regTclObj | ( | t | ) |
#define regTclObj | ( | t | ) |
#define regTclObj | ( | t | ) |
#define regTclObj2 | ( | t, | |
v ) |
#define regTclObj2 | ( | t, | |
v ) |
#define regTclObj2 | ( | t, | |
v ) |
#define Setup_doc "MkKernel::Setup" |
Definition at line 174 of file LibMkKernel_atl.c.
#define SIZE 20 |
#define TimeoutE_FromInt_doc "MkTimeoutE [MkKernel::TimeoutE_FromInt value:int32]" |
Definition at line 159 of file LibMkKernel_atl.c.
#define TimeoutE_ToInt_doc "int32 [MkKernel::TimeoutE_ToInt value:MkTimeoutE]" |
Definition at line 167 of file LibMkKernel_atl.c.
#define TimeoutE_ToString_doc "string [MkKernel::TimeoutE_ToString value:MkTimeoutE]" |
Definition at line 168 of file LibMkKernel_atl.c.
#define TypeE_FromInt_doc "MkTypeE [MkKernel::TypeE_FromInt value:int32]" |
Definition at line 160 of file LibMkKernel_atl.c.
#define TypeE_ToInt_doc "int32 [MkKernel::TypeE_ToInt value:MkTypeE]" |
Definition at line 169 of file LibMkKernel_atl.c.
#define TypeE_ToString_doc "string [MkKernel::TypeE_ToString value:MkTypeE]" |
Definition at line 170 of file LibMkKernel_atl.c.
#define VER TCL_OO_METHOD_VERSION_CURRENT |
Definition at line 12 of file LibMkKernel_atl.c.
int atlmkkernel_AtlArrayExists | ( | OT_MK_ARGS OT_OBJ_T | var | ) |
Definition at line 1013 of file LibMkKernel_atl.c.
AtlClassDefT atlmkkernel_AtlClassDefGetNN | ( | OT_MK_ARGS OT_NS_T | classP, |
OT_CLS_T | classO, | ||
MK_TYP | classTT, | ||
int | flags ) |
Definition at line 235 of file LibMkKernel_atl.c.
|
inlinestatic |
Definition at line 300 of file LibMkKernel_atl.c.
|
inlinestatic |
Definition at line 291 of file LibMkKernel_atl.c.
|
inlinestatic |
Definition at line 285 of file LibMkKernel_atl.c.
int atlmkkernel_AtlClassIsN | ( | OT_MK_ARGS OT_SELF_T | myNsO, |
OT_CLS_T | clsNsO, | ||
bool * | boolP ) |
Definition at line 1036 of file LibMkKernel_atl.c.
int atlmkkernel_AtlInfoExists | ( | OT_MK_ARGS OT_OBJ_T | var | ) |
TCL PRIVATE INTERFACE
Definition at line 1005 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_AtlInfoScript | ( | OT_MK_ARGS MK_STRN | script | ) |
Definition at line 1021 of file LibMkKernel_atl.c.
|
static |
ATOM API
Definition at line 1187 of file LibMkKernel_atl.c.
OT_SELF_T atlmkkernel_AtomCreate | ( | OT_MK_ARGS MK_OBJ | obj, |
OT_CLS_T | clsC, | ||
OT_OBJ_T | nameO, | ||
OT_OBJ_T | nsO, | ||
int | objc, | ||
OT_OBJ_T const | objv[], | ||
MK_PTR const | env ) |
Definition at line 1241 of file LibMkKernel_atl.c.
OT_SELF_T atlmkkernel_AtomCreateCONSTR | ( | OT_MK_ARGS MK_OBJ | obj, |
OT_CLS_T | clsC, | ||
OT_OBJ_T | nameO, | ||
MK_PTR const | env ) |
Definition at line 1296 of file LibMkKernel_atl.c.
OT_SELF_T atlmkkernel_AtomInit | ( | OT_MK_ARGS OT_SELF_T | selfO, |
MK_OBJ | obj, | ||
MK_PTR const | env ) |
Definition at line 1212 of file LibMkKernel_atl.c.
OT_SELF_T atlmkkernel_AtomMake | ( | OT_MK_ARGS MK_OBJ | obj, |
OT_CLS_T | clsC, | ||
OT_OBJ_T | nameO, | ||
OT_OBJ_T | nsO, | ||
MK_PTR const | env ) |
Definition at line 1271 of file LibMkKernel_atl.c.
OT_CLS_T atlmkkernel_ClassDef | ( | OT_MK_ARGS MK_TYP | typeTT, |
OT_NS_T * | clsNsP ) |
Definition at line 308 of file LibMkKernel_atl.c.
void atlmkkernel_ClassDef_ns_delete | ( | ClientData | clientData | ) |
Definition at line 182 of file LibMkKernel_atl.c.
|
inlinestatic |
Definition at line 212 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_ClassName | ( | OT_Prefix_ARGS OT_OBJ_T | myO, |
bool | doShort ) |
Definition at line 646 of file LibMkKernel_atl.c.
int atlmkkernel_EnumFlagWorker | ( | MK_RT | mkrt, |
OT_ENV_T | interp, | ||
const struct LookupEnumE * | keys, | ||
OT_OBJ_T | enumE, | ||
int * | ret ) |
Definition at line 515 of file LibMkKernel_atl.c.
int atlmkkernel_EvalObjvVA | ( | OT_ENV_T | interp, |
int | flags, | ||
... ) |
Definition at line 850 of file LibMkKernel_atl.c.
int atlmkkernel_FillNamespace | ( | OT_ENV_T | interp, |
const OtObjProcDefS | type[], | ||
ClientData | env ) |
Definition at line 877 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_Get_Call_Cmd | ( | FRAME_ARGS | ) |
Definition at line 410 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_Get_Call_File | ( | FRAME_ARGS | ) |
Definition at line 437 of file LibMkKernel_atl.c.
MK_I32 atlmkkernel_Get_Call_Line | ( | FRAME_ARGS | ) |
Definition at line 453 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_Get_Call_Proc | ( | FRAME_ARGS | ) |
Definition at line 398 of file LibMkKernel_atl.c.
bool atlmkkernel_Get_Call_Stack | ( | OT_MK_ARGS MK_ERR const | err, |
int | level ) |
Definition at line 466 of file LibMkKernel_atl.c.
MK_STRN atlmkkernel_GetTypeFromObj | ( | OT_Prefix_ARGS OT_OBJ_T | myO, |
bool * | isObject ) |
helper to print the type-name of a Tcl_Obj MkKernel::print type $RET
Definition at line 599 of file LibMkKernel_atl.c.
enum MkErrorE atlmkkernel_LngListToMkBufferListS | ( | OT_Prefix_ARGS OT_OBJ_T | argsO, |
MK_BFL * | retP ) |
Definition at line 688 of file LibMkKernel_atl.c.
|
static |
Definition at line 670 of file LibMkKernel_atl.c.
Definition at line 626 of file LibMkKernel_atl.c.
enum MkErrorE atlmkkernel_Obj_AsSTR_COPY | ( | OT_Check_ARGS | , |
MK_STR | ret, | ||
size_t | size ) |
Definition at line 830 of file LibMkKernel_atl.c.
enum MkErrorE atlmkkernel_Obj_AsSTRN | ( | OT_Check_ARGS | , |
MK_STRN * | retP ) |
Definition at line 804 of file LibMkKernel_atl.c.
Definition at line 891 of file LibMkKernel_atl.c.
int atlmkkernel_OT_ERROR_LNG_RETURN_HDL_IS_NULL | ( | OT_MK_ARGS OT_CLS_T | clsO, |
OT_OBJ_T | objO ) |
Definition at line 707 of file LibMkKernel_atl.c.
MK_STR atlmkkernel_PrintObj | ( | OT_Prefix_ARGS MK_STRN | header, |
OT_OBJ_T | valO ) |
helper to print a Tcl_Obj MkKernel::print object $RET
Definition at line 966 of file LibMkKernel_atl.c.
void atlmkkernel_PrintObj2 | ( | OT_Prefix_ARGS MK_STRN | header, |
OT_OBJ_T | obj, | ||
MK_STRN | caller ) |
Definition at line 905 of file LibMkKernel_atl.c.
bool atlmkkernel_TestObject | ( | OT_Prefix_ARGS OT_OBJ_T | myO, |
OT_CLS_T | clsO, | ||
MK_OBJ * | objP, | ||
MkTestClassE * | flagP ) |
Definition at line 537 of file LibMkKernel_atl.c.
int atlmkkernel_UnknownSetup | ( | OT_ENV_T | interp, |
const OtObjProcDefS | methodsDefs[], | ||
const ClientData | clientData ) |
"unknown" API
Definition at line 770 of file LibMkKernel_atl.c.
OT_ATL_EXTERN int Atlmkkernel_Unload | ( | OT_ENV_T | interp, |
int | flags ) |
Definition at line 2101 of file LibMkKernel_atl.c.
__thread OT_MK_RT_S amkrtR = {0} |
Definition at line 1989 of file LibMkKernel_atl.c.
|
static |
Definition at line 1906 of file LibMkKernel_atl.c.
|
static |
Definition at line 1872 of file LibMkKernel_atl.c.