Change the wrapper signature to take a void* (useful for the C mode)
This commit is contained in:
parent
46636a18d3
commit
9b5c844b9b
@ -686,7 +686,7 @@ namespace cling {
|
|||||||
|
|
||||||
void Interpreter::WrapInput(std::string& input, std::string& fname) {
|
void Interpreter::WrapInput(std::string& input, std::string& fname) {
|
||||||
fname = createUniqueWrapper();
|
fname = createUniqueWrapper();
|
||||||
input.insert(0, "void " + fname + "(cling::Value*) {\n ");
|
input.insert(0, "void " + fname + "(void* vpClingValue) {\n ");
|
||||||
input.append("\n;\n}");
|
input.append("\n;\n}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user