experimental directors in python

This commit is contained in:
lperron@google.com
2014-05-22 12:02:12 +00:00
parent 567ea07f6d
commit dd8b5cd7b3

View File

@@ -17,6 +17,7 @@
%include util/util.swig
#ifdef SWIGPYTHON
%module(directors="1") operations_research
// We *do* need to use SWIGTYPE_... descriptor directly in embedded C++ code:
// the recommended replacement $descriptor(...) is only available within
// SWIG code.
@@ -958,6 +959,8 @@ static void SetPythonFlags(bool trace_propagation,
return self->Size();
}
}
%feature("director") SearchMonitor;
%feature("director") Constraint;
} // namespace operations_research
#endif // SWIGPYTHON