diff options
Diffstat (limited to 'swig/ZYppCommitResult.i')
-rw-r--r-- | swig/ZYppCommitResult.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/swig/ZYppCommitResult.i b/swig/ZYppCommitResult.i new file mode 100644 index 0000000..ef5cae4 --- /dev/null +++ b/swig/ZYppCommitResult.i @@ -0,0 +1,11 @@ +%include <zypp/ZYppCommitResult.h> + +%extend zypp::ZYppCommitResult +{ + std::string asString() const + { + std::ostringstream str; + str << *self; + return str.str(); + } +} |