bug fix
parent
f72448b624
commit
b73d063dbd
|
@ -74,7 +74,7 @@ void ReturnType::emit_cython_pxd(FileWriter& file) const {
|
||||||
} else {
|
} else {
|
||||||
if (isPtr) cythonType = "shared_ptr[" + typeName + "]";
|
if (isPtr) cythonType = "shared_ptr[" + typeName + "]";
|
||||||
}
|
}
|
||||||
file.oss << cythonType << " ";
|
file.oss << cythonType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
|
@ -74,10 +74,12 @@ void ReturnValue::emit_cython_pxd(FileWriter& file) const {
|
||||||
file.oss << "pair[";
|
file.oss << "pair[";
|
||||||
type1.emit_cython_pxd(file);
|
type1.emit_cython_pxd(file);
|
||||||
file.oss << ",";
|
file.oss << ",";
|
||||||
type1.emit_cython_pxd(file);
|
type2.emit_cython_pxd(file);
|
||||||
"] ";
|
file.oss << "] ";
|
||||||
|
} else {
|
||||||
|
type1.emit_cython_pxd(file);
|
||||||
|
file.oss << " ";
|
||||||
}
|
}
|
||||||
else type1.emit_cython_pxd(file);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue