11#define META_FILE_NAME "high_rb.c"
17#define SetupRtFromObj_XN(o) AllRtSetup_XN(o)
21#define highSELF "ctx.Send"
23#define highSKIP __skip
24#define highSKIP_SHIFT 0
27#define highSIZE_AVAILABLE 1
28#define highREAD_RETURN_LIST 1
29#define highREAD_HAS_REFERENCE 0
31#define highINITcstr OT_CHECK_STR(cstr)
32#define highRETok goto end;
33#define highRETerror OT_ERROR_META_2_LNG(mqctx); OT_retObj_SET_Error
34#define highCMD "%s '%s' ... '%s' ..."
36#define highRETURN highRETURN_type_S
37#define highFARGS(f) NS(ServiceCall),f,NS(ServiceFree)
39#define highTRAN(str) OT_CHECK_C_COPY(str,MQ_SEND_TRANSACTION_TOKEN_SIZE)
40#define highTOKEN(str) OT_CHECK_C_COPY(str,MQ_SEND_TOKEN_SIGNATURE_SIZE)
41#define highTIME(t) OT_CHECK_TIME_T(timeout)
42#define highCALL(f) OT_CHECK_CALLABLE(f)
45#define highERRORnative
49#define MkErrorC_CheckD(p) MkErrorCheck(p)
51#define highSend(T) { \
53 OT_CHECK_REQUIRED(OT_CHECK_##T(val)); \
54 MkErrorCheck(MqSend##T(mqctx,val)); \
58#define highSend2(T) { \
60 OT_CHECK_REQUIRED(OT_CHECK_##T(val,MK_NULL_NO)); \
61 MkErrorCheck(MqSend##T(mqctx,val)); \
65#define highSend_I8 highSend(I8)
66#define highSend_BOL highSend(BOL)
67#define highSend_I16 highSend(I16)
68#define highSend_I32 highSend(I32)
69#define highSend_I64 highSend(I64)
70#define highSend_HDL highSend(HDL)
71#define highSend_FLT highSend(FLT)
72#define highSend_DBL highSend(DBL)
73#define highSend_STR highSend(STR)
74#define highSend_BUF highSend2(BUF)
76#define highSend_BFL { \
77 MkBufferListCreateTLS_T(bfl,5); \
78 OT_CHECK_REQUIRED(OT_CHECK_BFL(bfl,MK_NULL_NO)) \
79 enum MkErrorE ret = MqSendBFL(mqctx, bfl); \
83#define highSend_BIN { \
84 MkBinaryR cbi = {0}; \
85 OT_CHECK_REQUIRED(OT_CHECK__ME_REF_MkBinaryR(cbi)) \
86 MkErrorCheck(MqSendBIN(mqctx, cbi)); \
89#define highREADprepare OT_CHECK_NOARGS
#define OT_SETUP_VARARGS(min, max, d)
#define OT_SETUP_hdl_tmpl(cls)