Skip to content

Commit c9e3f09

Browse files
krempel-ptrhc54
authored andcommitted
Fix PMIX_INFO_*PROCESSED macros
According to the standard, `PMIX_INFO_PROCESSED(info)` is meant to set and `PMIX_INFO_WAS_PROCESSED(info)` is meant to test the processed flag. Signed-off-by: Stephan Krempel <[email protected]>
1 parent b46e350 commit c9e3f09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pmix_common.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3306,9 +3306,9 @@ typedef struct pmix_info {
33063306
!((m)->flags & PMIX_INFO_REQD)
33073307

33083308
/* macros for setting and testing the "reqd processed" flag */
3309-
#define PMIX_INFO_WAS_PROCESSED(m) \
3310-
((m)->flags |= PMIX_INFO_REQD_PROCESSED)
33113309
#define PMIX_INFO_PROCESSED(m) \
3310+
((m)->flags |= PMIX_INFO_REQD_PROCESSED)
3311+
#define PMIX_INFO_WAS_PROCESSED(m) \
33123312
((m)->flags & PMIX_INFO_REQD_PROCESSED)
33133313

33143314
/* macro for testing end of the array */

0 commit comments

Comments
 (0)