1 --- a/src/odb/src/swig/python/dbtypes.i
2 +++ b/src/odb/src/swig/python/dbtypes.i
3 @@ -271,7 +271,7 @@ WRAP_OBJECT_RETURN_REF(odb::dbViaParams, params_return)
4 swig_type_info *tf = SWIG_TypeQuery("odb::dbShape" "*");
5 for(std::vector<odb::dbShape>::iterator it = $1->begin(); it != $1->end(); it++) {
6 PyObject *o = SWIG_NewInstanceObj(&(*it), tf, 0);
7 - $result = SWIG_Python_AppendOutput($result, o);
8 + $result = SWIG_AppendOutput($result, o);
12 @@ -283,14 +283,14 @@ WRAP_OBJECT_RETURN_REF(odb::dbViaParams, params_return)
13 auto layer = it->second;
14 PyObject *layer_swig = SWIG_NewInstanceObj(layer, tf, 0);
15 PyObject *tuple = PyTuple_Pack(2, PyFloat_FromDouble(value), layer_swig);
16 - $result = SWIG_Python_AppendOutput($result, tuple);
17 + $result = SWIG_AppendOutput($result, tuple);
21 %typemap(argout) std::vector<int> &OUTPUT {
22 for(auto it = $1->begin(); it != $1->end(); it++) {
23 PyObject *obj = PyInt_FromLong((long)*it);
24 - $result = SWIG_Python_AppendOutput($result, obj);
25 + $result = SWIG_AppendOutput($result, obj);