Skip to content

Commit 28a91d8

Browse files
alexander-penevvgvassilev
authored andcommitted
Update CppInterOp.h
1 parent 2bae18b commit 28a91d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/clang/Interpreter/CppInterOp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ namespace Cpp {
410410
///\param[in] Args - the list of arguments for interpreter constructor.
411411
///\param[in] CPPINTEROP_EXTRA_INTERPRETER_ARGS - an env variable, if defined,
412412
/// adds additional arguments to the interpreter.
413-
TInterp_t CreateInterpreter(const std::vector<const char *> &Args = {});
413+
extern "C" TInterp_t CreateInterpreter(const std::vector<const char*> &Args = {});
414414

415415
/// Checks which Interpreter backend was CppInterOp library built with (Cling,
416416
/// Clang-REPL, etcetera). In practice, the selected interpreter should not

0 commit comments

Comments
 (0)