Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
791727b7
Commit
791727b7
authored
Oct 26, 2010
by
florent
Browse files
Get rid of warning message
* src/dynamic-graph-py.cc.
parent
8cae8bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic-graph-py.cc
View file @
791727b7
...
...
@@ -142,8 +142,10 @@ initwrap(void)
if
(
m
==
NULL
)
return
;
std
::
string
msg
(
"dynamic_graph.wrap.error"
);
dynamicgraph
::
python
::
error
=
PyErr_NewException
(
"dynamic_graph.wrap.error"
,
NULL
,
NULL
);
PyErr_NewException
(
const_cast
<
char
*>
(
msg
.
c_str
())
,
NULL
,
NULL
);
Py_INCREF
(
dynamicgraph
::
python
::
error
);
PyModule_AddObject
(
m
,
"error"
,
dynamicgraph
::
python
::
error
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment