Change the wrapper signature to take a void* (useful for the C mode)

This commit is contained in:
Vassil Vassilev 2014-05-17 23:24:29 +02:00 committed by sftnight
parent 46636a18d3
commit 9b5c844b9b

View File

@ -686,7 +686,7 @@ namespace cling {
void Interpreter::WrapInput(std::string& input, std::string& fname) {
fname = createUniqueWrapper();
input.insert(0, "void " + fname + "(cling::Value*) {\n ");
input.insert(0, "void " + fname + "(void* vpClingValue) {\n ");
input.append("\n;\n}");
}