Skip to content
Snippets Groups Projects
Commit a632d9a5 authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Account for singleton rewriting of g_caster.

parent dc4d53bb
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ namespace dynamicgraph {
if (!PyArg_ParseTuple(args, ""))
return NULL;
std::vector<std::string> typeList =
dynamicgraph::g_caster.listTypenames();
dynamicgraph::g_caster().listTypenames();
unsigned int typeNumber = typeList.size();
// Build a tuple object
PyObject* typeTuple = PyTuple_New(typeNumber);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment