Skip to content

Commit

Permalink
GHI #32 Mark explicit.h with extern "C"
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed May 7, 2024
1 parent 40747d6 commit 073138a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/patomic/types/ops/explicit.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#ifndef PATOMIC_OPS_EXPLICIT_H
#define PATOMIC_OPS_EXPLICIT_H

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


/**
Expand Down Expand Up @@ -532,4 +534,8 @@ typedef struct {
} patomic_ops_explicit_t;


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

#endif /* PATOMIC_OPS_EXPLICIT_H */

0 comments on commit 073138a

Please sign in to comment.