111 |
%rename(getSetIntValue) Instanc::getSetValue<long>; |
%rename(getSetIntValue) Instanc::getSetValue<long>; |
112 |
%rename(getSetStringValue) Instanc::getSetValue<SymChar>; |
%rename(getSetStringValue) Instanc::getSetValue<SymChar>; |
113 |
%rename(Units) UnitsM; |
%rename(Units) UnitsM; |
|
%rename(set) Registry::setPyObject; |
|
|
|
|
114 |
|
|
115 |
// Grab a Python function object as a Python object. |
// Grab a Python function object as a Python object. |
116 |
%typemap(in) PyObject *pyfunc { |
%typemap(in) PyObject *pyfunc { |
470 |
} |
} |
471 |
} |
} |
472 |
|
|
|
%include "config.h" |
|
473 |
%include "registry.h" |
%include "registry.h" |
474 |
|
%extend Registry{ |
475 |
|
void set(const char *key, PyObject *obj){ |
476 |
|
self->setPyObject(key,obj); |
477 |
|
} |
478 |
|
} |
479 |
|
|
480 |
%include "solver.i" |
%include "solver.i" |
481 |
|
|