release/4.3a0
Duy-Nguyen Ta 2016-09-09 07:16:29 -04:00
parent f72448b624
commit b73d063dbd
2 changed files with 6 additions and 4 deletions

View File

@ -74,7 +74,7 @@ void ReturnType::emit_cython_pxd(FileWriter& file) const {
} else {
if (isPtr) cythonType = "shared_ptr[" + typeName + "]";
}
file.oss << cythonType << " ";
file.oss << cythonType;
}
/* ************************************************************************* */

View File

@ -74,10 +74,12 @@ void ReturnValue::emit_cython_pxd(FileWriter& file) const {
file.oss << "pair[";
type1.emit_cython_pxd(file);
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);
}
/* ************************************************************************* */