Skip to content

Commit

Permalink
GHI #32 Add extern C to transaction ops
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed May 10, 2024
1 parent f756088 commit 184bc0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/patomic/types/ops/transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

#include <stddef.h>

// TODO: extern "C"
#ifdef __cplusplus
extern "C" {
#endif


/**
Expand Down Expand Up @@ -1070,4 +1072,8 @@ typedef struct {
} patomic_ops_transaction_t;


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* PATOMIC_OPS_TRANSACTION_H */

0 comments on commit 184bc0a

Please sign in to comment.