Skip to content
Snippets Groups Projects
Commit 810ad4a7 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Replace call to g_caster by call to SignalCaster::getInstance static method.

parent f1635c87
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ namespace dynamicgraph { ...@@ -28,7 +28,7 @@ namespace dynamicgraph {
if (!PyArg_ParseTuple(args, "")) if (!PyArg_ParseTuple(args, ""))
return NULL; return NULL;
std::vector<std::string> typeList = std::vector<std::string> typeList =
dynamicgraph::g_caster().listTypenames(); dynamicgraph::SignalCaster::getInstance()->listTypenames();
unsigned int typeNumber = typeList.size(); unsigned int typeNumber = typeList.size();
// Build a tuple object // Build a tuple object
PyObject* typeTuple = PyTuple_New(typeNumber); 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