Skip to content

Commit 942ba1b

Browse files
committed
add extern C when C++
1 parent 761c247 commit 942ba1b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

compile/include/JetReconstruction.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#ifndef JET_RECONSTRUCTION_JL_H_
1616
#define JET_RECONSTRUCTION_JL_H_
1717

18+
#ifdef __cplusplus
19+
extern "C" {
20+
#endif
21+
1822
#include <stddef.h>
1923

2024
/*Special states in a history.*/
@@ -341,4 +345,8 @@ jetreconstruction_StatusCode jetreconstruction_inclusive_jets(
341345
const jetreconstruction_ClusterSequence *clustersequence, double ptmin,
342346
jetreconstruction_JetsResult *result);
343347

348+
#ifdef __cplusplus
349+
}
350+
#endif
351+
344352
#endif /* JET_RECONSTRUCTION_JL_H_ */

0 commit comments

Comments
 (0)