summaryrefslogtreecommitdiff
path: root/swig/Pathname.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Pathname.i')
-rw-r--r--swig/Pathname.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/swig/Pathname.i b/swig/Pathname.i
new file mode 100644
index 0000000..6b7305b
--- /dev/null
+++ b/swig/Pathname.i
@@ -0,0 +1,12 @@
+// Ignore static versions shadowed by member functions
+%ignore zypp::filesystem::Pathname::dirname(Pathname const &);
+%ignore zypp::filesystem::Pathname::basename(Pathname const &);
+%ignore zypp::filesystem::Pathname::extension(Pathname const &);
+%ignore zypp::filesystem::Pathname::absolutename(Pathname const &);
+%ignore zypp::filesystem::Pathname::relativename(Pathname const &);
+%ignore zypp::filesystem::Pathname::cat(Pathname const &,Pathname const &);
+%ignore zypp::filesystem::Pathname::extend(Pathname const &,std::string const &);
+
+%ignore zypp::filesystem::operator<( const Pathname & l, const Pathname & r );
+
+%include <zypp/Pathname.h>