Skip to content

Commit 94be580

Browse files
committed
Use updated CppInterOp header include
1 parent fa79729 commit 94be580

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

clingwrapper/src/clingwrapper.cxx

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -245,30 +245,31 @@ class ApplicationStarter {
245245

246246
// load frequently used headers
247247
const char* code =
248-
"#include <algorithm>\n"
249-
"#include <numeric>\n"
250-
"#include <complex>\n"
251-
"#include <iostream>\n"
252-
"#include <string.h>\n" // for strcpy
253-
"#include <string>\n"
248+
"#include <algorithm>\n"
249+
"#include <numeric>\n"
250+
"#include <complex>\n"
251+
"#include <iostream>\n"
252+
"#include <string.h>\n" // for strcpy
253+
"#include <string>\n"
254254
// "#include <DllImport.h>\n" // defines R__EXTERN
255-
"#include <vector>\n"
256-
"#include <utility>\n"
257-
"#include <memory>\n"
258-
"#include <functional>\n" // for the dispatcher code to use std::function
259-
"#include <map>\n" // FIXME: Replace with modules
260-
"#include <sstream>\n" // FIXME: Replace with modules
261-
"#include <array>\n" // FIXME: Replace with modules
262-
"#include <list>\n" // FIXME: Replace with modules
263-
"#include <deque>\n" // FIXME: Replace with modules
264-
"#include <tuple>\n" // FIXME: Replace with modules
265-
"#include <set>\n" // FIXME: Replace with modules
266-
"#include <chrono>\n" // FIXME: Replace with modules
267-
"#include <cmath>\n" // FIXME: Replace with modules
268-
"#if __has_include(<optional>)\n"
269-
"#include <optional>\n"
270-
"#endif\n"
271-
"#include \"clang/Interpreter/CppInterOp.h\"";
255+
"#include <vector>\n"
256+
"#include <utility>\n"
257+
"#include <memory>\n"
258+
"#include <functional>\n" // for the dispatcher code to use
259+
// std::function
260+
"#include <map>\n" // FIXME: Replace with modules
261+
"#include <sstream>\n" // FIXME: Replace with modules
262+
"#include <array>\n" // FIXME: Replace with modules
263+
"#include <list>\n" // FIXME: Replace with modules
264+
"#include <deque>\n" // FIXME: Replace with modules
265+
"#include <tuple>\n" // FIXME: Replace with modules
266+
"#include <set>\n" // FIXME: Replace with modules
267+
"#include <chrono>\n" // FIXME: Replace with modules
268+
"#include <cmath>\n" // FIXME: Replace with modules
269+
"#if __has_include(<optional>)\n"
270+
"#include <optional>\n"
271+
"#endif\n"
272+
"#include \"CppInterOp/CppInterOp.h\"";
272273
Cpp::Process(code);
273274

274275
// create helpers for comparing thingies

clingwrapper/src/cpp_cppyy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// #include "TCling.h"
1616

17-
#include "clang/Interpreter/CppInterOp.h"
17+
#include <CppInterOp/CppInterOp.h>
1818

1919
// some more types; assumes Cppyy.h follows Python.h
2020
#ifndef PY_LONG_LONG

0 commit comments

Comments
 (0)