Skip to content

Commit

Permalink
Fix of previous attempt. Guard extern "C".
Browse files Browse the repository at this point in the history
  • Loading branch information
unhyperbolic committed Jul 19, 2023
1 parent e6b1705 commit ebdff01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cython/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
* in terms of CYTHON_EXTERN_C when available in SnapPyHP.cpp.
*/

#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#endif

0 comments on commit ebdff01

Please sign in to comment.