diff options
author | Michael Andres <ma@suse.de> | 2009-08-03 16:53:08 +0200 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2009-08-03 16:53:08 +0200 |
commit | 570b225a7efbbdda476fa0d1b77b8f0d267dd4cb (patch) | |
tree | d26a07a896ace2c49ec117028984daec51401662 /swig/zypp.i | |
parent | 1c208c25769f962ae0be7793dd7463b842fb1d64 (diff) | |
download | libzypp-bindings-570b225a7efbbdda476fa0d1b77b8f0d267dd4cb.tar.gz libzypp-bindings-570b225a7efbbdda476fa0d1b77b8f0d267dd4cb.tar.bz2 libzypp-bindings-570b225a7efbbdda476fa0d1b77b8f0d267dd4cb.zip |
Adappt to boost-1.39
Diffstat (limited to 'swig/zypp.i')
-rw-r--r-- | swig/zypp.i | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/swig/zypp.i b/swig/zypp.i index cabcde8..67c17ae 100644 --- a/swig/zypp.i +++ b/swig/zypp.i @@ -88,10 +88,17 @@ namespace zypp { %include "perl5/perl.i" #endif +#ifdef BOOST_SMARTPTR_INCLUDE_DIR +%import <boost/smart_ptr/scoped_ptr.hpp> +%import <boost/smart_ptr/shared_ptr.hpp> +%import <boost/smart_ptr/weak_ptr.hpp> +%import <boost/smart_ptr/intrusive_ptr.hpp> +#else %import <boost/scoped_ptr.hpp> %import <boost/shared_ptr.hpp> %import <boost/weak_ptr.hpp> %import <boost/intrusive_ptr.hpp> +#endif %import <zypp/base/PtrTypes.h> %import <zypp/base/Flags.h> |