Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d618ca3
)
Python 3 porting.
author
rnv
<rnv@opencascade.com>
Mon, 22 May 2017 14:13:33 +0000
(17:13 +0300)
committer
rnv
<rnv@opencascade.com>
Mon, 22 May 2017 14:13:33 +0000
(17:13 +0300)
src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
index 6c9376b3b641a2ef212267fa012bf9f109352008..d3b42a6b1acebd19d3a7b00879f20b8bea31212e 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
+++ b/
src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
@@
-96,8
+96,7
@@
namespace
PyStdOut_write(PyStdOut* self, PyObject* args)
{
char *c;
- int l;
- if (!PyArg_ParseTuple(args, "t#:write", &c, &l))
+ if (!PyArg_ParseTuple(args, "s", &c))
return NULL;
*(self->out) = *(self->out) + c;
@@
-164,6
+163,14
@@
namespace
0, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
+ 0, /*tp_bases*/
+ 0, /*tp_mro*/
+ 0, /*tp_cache*/
+ 0, /*tp_subclasses*/
+ 0, /*tp_weaklist*/
+ 0, /*tp_del*/
+ 0, /*tp_version_tag*/
+ 0, /*tp_finalize*/
};
PyObject* newPyStdOut( std::string& out )