mk_misc_check_lng.h - 21 Feb 2025 - aotto1968 More...
Go to the source code of this file.
Macros | |
#define | OT_CHECK_LNG_T(val) |
#define | OT_CHECK_EXP(val) |
#define | OT_CHECK_MXC(val) |
#define | OT_CHECK_MK_OBJECT_C(val, nullB) |
#define | OT_CHECK_OBJ(val, nullB) |
#define | OT_CHECK_OBJN(val, nullB) |
#define | OT_CHECK_MNG(val) |
#define | OT_CHECK_ERC(val, nullB) |
#define | OT_CHECK_CLASS(val, classType, type, nullB) |
#define | OT_CHECK_BUF(val, nullB) |
#define | OT_CHECK_BUS(val, nullB) |
#define | OT_CHECK_ERR(val, nullB) |
#define | OT_CHECK_LFL(val, nullB) |
#define | OT_CHECK_RT(val, nullB) |
#define | OT_CHECK_BUFN(val, nullB) |
#define | OT_CHECK_BUSN(val, nullB) |
#define | OT_CHECK_ERRN(val, nullB) |
#define | OT_CHECK_LFLN(val, nullB) |
#define | OT_CHECK_RTN(val, nullB) |
#define | OT_CHECK_BAC(val) |
#define | OT_CHECK_BFL(val, nullB) |
#define | OT_CHECK_BFLN(val, nullB) |
#define | OT_CHECK_ENUM(ename, val) |
#define | OT_CHECK_ENUM_FLAG(ename, val) |
#define | OT_CHECK_TIME_T(val) |
#define | OT_SETUP_CALLABLE(val) |
#define | OT_SETUP_CALLABLE_ONCE(val) |
#define | OT_CLEANUP_CALLABLE(val) |
#define | OT_CLEANUP_CALLABLE_ONCE(val) |
#define | OT_CHECK_CALLABLE(val) |
#define | MkCallFree(cb) |
#define | MkCallFreeOnce(cb) |
#define | NullNotAllowd(_cls) |
#define | WrongTypeOfArgError(exp, got) |
#define | WrongCallableError(got) |
#define | SignaturError(str) |
#define | InternalError(str) |
#define | OT_LNG_OBJ_CLASS_IS_4(val, cls, objP, flagP) |
#define | OT_LNG_OBJECT_IS_3(objV, obj, flag) |
Typedefs | |
typedef enum MkTestClassE | MkTestClassE |
Enumerations | |
enum | MkTestClassE { MkTestClassE_OK = 0 , MkTestClassE_NULL , MkTestClassE_INVALID_SIGNATURE , MkTestClassE_NONE_OBJECT , MkTestClassE_WRONG_CLASS , MkTestClassE_INTERNAL } |
Functions | |
MK_EXTERN enum MkErrorE MK_DECL MK | Check_MkObjectC (OT_Check_ARGS, MK_MNG *, bool) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckClass (OT_CLS_T, MK_TYP, OT_Check_ARGS, MK_MNG *, bool) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckBAC (OT_Check_ARGS, MK_BFL *, bool) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckBLC (OT_Check_ARGS, MK_BFL *, bool) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckEnum (OT_ENUM_T classType, OT_Check_ARGS, int *) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckEnumFlag (OT_ENUM_T classType, OT_Check_ARGS, int *) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckTimeT (OT_Check_ARGS, MK_TIME_T *) |
MK_EXTERN enum MkErrorE MK_DECL MK | CheckCallable (OT_Check_ARGS, MK_CBP *) |
bool MK | TestObject (OT_Prefix_ARGS OT_OBJ_T lngO, OT_CLS_T typeO, MK_OBJ *objP, MkTestClassE *flagP) |
mk_misc_check_lng.h - 21 Feb 2025 - aotto1968
Definition in file mk_misc_check_lng.h.
#define InternalError | ( | str | ) |
Definition at line 145 of file mk_misc_check_lng.h.
#define MkCallFree | ( | cb | ) |
Definition at line 121 of file mk_misc_check_lng.h.
#define MkCallFreeOnce | ( | cb | ) |
Definition at line 122 of file mk_misc_check_lng.h.
#define NullNotAllowd | ( | _cls | ) |
Definition at line 125 of file mk_misc_check_lng.h.
#define OT_CHECK_BAC | ( | val | ) |
Definition at line 80 of file mk_misc_check_lng.h.
#define OT_CHECK_BFL | ( | val, | |
nullB ) |
Definition at line 84 of file mk_misc_check_lng.h.
#define OT_CHECK_BFLN | ( | val, | |
nullB ) |
Definition at line 86 of file mk_misc_check_lng.h.
#define OT_CHECK_BUF | ( | val, | |
nullB ) |
Definition at line 67 of file mk_misc_check_lng.h.
#define OT_CHECK_BUFN | ( | val, | |
nullB ) |
Definition at line 73 of file mk_misc_check_lng.h.
#define OT_CHECK_BUS | ( | val, | |
nullB ) |
Definition at line 68 of file mk_misc_check_lng.h.
#define OT_CHECK_BUSN | ( | val, | |
nullB ) |
Definition at line 74 of file mk_misc_check_lng.h.
#define OT_CHECK_CALLABLE | ( | val | ) |
Definition at line 120 of file mk_misc_check_lng.h.
#define OT_CHECK_CLASS | ( | val, | |
classType, | |||
type, | |||
nullB ) |
Definition at line 64 of file mk_misc_check_lng.h.
#define OT_CHECK_ENUM | ( | ename, | |
val ) |
Definition at line 91 of file mk_misc_check_lng.h.
#define OT_CHECK_ENUM_FLAG | ( | ename, | |
val ) |
Definition at line 100 of file mk_misc_check_lng.h.
#define OT_CHECK_ERC | ( | val, | |
nullB ) |
Definition at line 61 of file mk_misc_check_lng.h.
#define OT_CHECK_ERR | ( | val, | |
nullB ) |
Definition at line 69 of file mk_misc_check_lng.h.
#define OT_CHECK_ERRN | ( | val, | |
nullB ) |
Definition at line 75 of file mk_misc_check_lng.h.
#define OT_CHECK_EXP | ( | val | ) |
Definition at line 50 of file mk_misc_check_lng.h.
#define OT_CHECK_LFL | ( | val, | |
nullB ) |
Definition at line 70 of file mk_misc_check_lng.h.
#define OT_CHECK_LFLN | ( | val, | |
nullB ) |
Definition at line 76 of file mk_misc_check_lng.h.
#define OT_CHECK_LNG_T | ( | val | ) |
Definition at line 43 of file mk_misc_check_lng.h.
#define OT_CHECK_MK_OBJECT_C | ( | val, | |
nullB ) |
Definition at line 55 of file mk_misc_check_lng.h.
#define OT_CHECK_MNG | ( | val | ) |
Definition at line 60 of file mk_misc_check_lng.h.
#define OT_CHECK_MXC | ( | val | ) |
Definition at line 51 of file mk_misc_check_lng.h.
#define OT_CHECK_OBJ | ( | val, | |
nullB ) |
Definition at line 58 of file mk_misc_check_lng.h.
#define OT_CHECK_OBJN | ( | val, | |
nullB ) |
Definition at line 59 of file mk_misc_check_lng.h.
#define OT_CHECK_RT | ( | val, | |
nullB ) |
Definition at line 71 of file mk_misc_check_lng.h.
#define OT_CHECK_RTN | ( | val, | |
nullB ) |
Definition at line 77 of file mk_misc_check_lng.h.
#define OT_CHECK_TIME_T | ( | val | ) |
Definition at line 109 of file mk_misc_check_lng.h.
#define OT_CLEANUP_CALLABLE | ( | val | ) |
Definition at line 117 of file mk_misc_check_lng.h.
#define OT_CLEANUP_CALLABLE_ONCE | ( | val | ) |
Definition at line 119 of file mk_misc_check_lng.h.
#define OT_LNG_OBJ_CLASS_IS_4 | ( | val, | |
cls, | |||
objP, | |||
flagP ) |
Definition at line 161 of file mk_misc_check_lng.h.
#define OT_LNG_OBJECT_IS_3 | ( | objV, | |
obj, | |||
flag ) |
Definition at line 162 of file mk_misc_check_lng.h.
#define OT_SETUP_CALLABLE | ( | val | ) |
Definition at line 115 of file mk_misc_check_lng.h.
#define OT_SETUP_CALLABLE_ONCE | ( | val | ) |
Definition at line 116 of file mk_misc_check_lng.h.
#define SignaturError | ( | str | ) |
Definition at line 140 of file mk_misc_check_lng.h.
#define WrongCallableError | ( | got | ) |
Definition at line 135 of file mk_misc_check_lng.h.
#define WrongTypeOfArgError | ( | exp, | |
got ) |
Definition at line 130 of file mk_misc_check_lng.h.
typedef enum MkTestClassE MkTestClassE |
enum MkTestClassE |
Enumerator | ||
---|---|---|
MkTestClassE_OK | 0 | |
MkTestClassE_NULL | ||
MkTestClassE_INVALID_SIGNATURE | ||
MkTestClassE_NONE_OBJECT | ||
MkTestClassE_WRONG_CLASS | ||
MkTestClassE_INTERNAL |
Definition at line 150 of file mk_misc_check_lng.h.
MK_EXTERN enum MkErrorE MK_DECL MK CheckClass | ( | OT_CLS_T | , |
MK_TYP | , | ||
OT_Check_ARGS | , | ||
MK_MNG * | , | ||
bool | ) |
bool MK TestObject | ( | OT_Prefix_ARGS OT_OBJ_T | lngO, |
OT_CLS_T | typeO, | ||
MK_OBJ * | objP, | ||
MkTestClassE * | flagP ) |