# ifdef MQxx_EXPECT_TRUNCATED_INPUT
# define the CheckSpace (n, the size, rcode)
If ((MQLONG) (in_lastbyte - * in_cursor + 1) & lt; N * size)
{
N=((MQLONG) (in_lastbyte - * in_cursor + 1)/size).
}
If ((MQLONG) (out_lastbyte - * out_cursor + 1) & lt; N * size)
{
N=((MQLONG) (out_lastbyte - * out_cursor + 1)/size).
Rcode=(opts & amp; MQGMO_ACCEPT_TRUNCATED_MSG)
? MQRC_TRUNCATED_MSG_ACCEPTED
: MQRC_CONVERTED_MSG_TOO_BIG;
}
# the else
# define the CheckSpace (n, the size, rcode)
If ((MQLONG) (in_lastbyte - * in_cursor + 1) & lt; N * size)
{
N=((MQLONG) (in_lastbyte - * in_cursor + 1)/size).
Rcode=(" Reason==MQRC_TRUNCATED_MSG_ACCEPTED)
? MQRC_TRUNCATED_MSG_ACCEPTED
: MQRC_NOT_CONVERTED;
}
If ((MQLONG) (out_lastbyte - * out_cursor + 1) & lt; N * size)
{
N=((MQLONG) (out_lastbyte - * out_cursor + 1)/size).
Rcode=(opts & amp; MQGMO_ACCEPT_TRUNCATED_MSG)
? MQRC_TRUNCATED_MSG_ACCEPTED
: MQRC_CONVERTED_MSG_TOO_BIG;
}
# endif
QQ: 1119878383 above is only part of a great god help!
CodePudding user response:
Delphi does not support macros,I need to change if the context of complex macro, Delphi, had to hand in the macro,
CodePudding user response:
How to translate to kiss