Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1112 tab key doesn't work on the last field of left panels
[modules/shaper.git]
/
src
/
ParametersPlugin
/
ParametersPlugin_PyInterp.cpp
diff --git
a/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp
b/src/ParametersPlugin/ParametersPlugin_PyInterp.cpp
index cc5ff327e587db3775f4abda9b996fc579dfad02..054c8c3e2bdbe1b209c381d7f10551f928dd5c6d 100644
(file)
--- a/
src/ParametersPlugin/ParametersPlugin_PyInterp.cpp
+++ b/
src/ParametersPlugin/ParametersPlugin_PyInterp.cpp
@@
-81,7
+81,7
@@
std::list<std::string> ParametersPlugin_PyInterp::compile(const std::string& the
}
PyObject *aCodePyObj =
}
PyObject *aCodePyObj =
- PyObject_CallMethod(aCodeopModule,
"compile_command",
"(s)", theExpression.c_str());
+ PyObject_CallMethod(aCodeopModule,
(char*)"compile_command", (char*)
"(s)", theExpression.c_str());
if(!aCodePyObj || aCodePyObj == Py_None || !PyCode_Check(aCodePyObj)) {
Py_XDECREF(aCodePyObj);
if(!aCodePyObj || aCodePyObj == Py_None || !PyCode_Check(aCodePyObj)) {
Py_XDECREF(aCodePyObj);