Skip to content

Commit

Permalink
SOL-115460: Added comments to address usage of SOLCLIENTGO_HAS_REPLY_…
Browse files Browse the repository at this point in the history
…CORRELATION_ID_PREFIX

Signed-off-by: Chris Morgan <[email protected]>
  • Loading branch information
cjwmorgan-sol committed Apr 2, 2024
1 parent fe3b170 commit ac5e423
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/ccsmp/ccsmp_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ uintptr_to_void_p(solClient_uint64_t ptr);

/**
* Macro for determining if a message correlation has the solclientgo correlation prefix
* corrId_p correlation id pointer/expression, must not be NULL.
* Should be a utf8 null terminal string, any string that is not null terminal must
* have a buffer size greater then 4.
*/
#define SOLCLIENTGO_HAS_REPLY_CORRELATION_ID_PREFIX(corrId_p) ( \
(corrId_p)[0] == (SOLCLIENTGO_REPLY_CORRELATION_PREFIX)[0] && \
Expand Down

0 comments on commit ac5e423

Please sign in to comment.