summaryrefslogtreecommitdiff
path: root/swig/Pathname.i
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2007-07-30 13:35:10 +0000
committerArvin Schnell <aschnell@suse.de>2007-07-30 13:35:10 +0000
commit4103a38c13fcd8a09ba336286c1e0d54415c59b0 (patch)
tree5df48c868632594169fd6f9ec0267cde40267116 /swig/Pathname.i
parentac3cd4e1d368bc9c3758ff06910f9340f5657a39 (diff)
downloadlibzypp-bindings-4103a38c13fcd8a09ba336286c1e0d54415c59b0.tar.gz
libzypp-bindings-4103a38c13fcd8a09ba336286c1e0d54415c59b0.tar.bz2
libzypp-bindings-4103a38c13fcd8a09ba336286c1e0d54415c59b0.zip
- added comment
Diffstat (limited to 'swig/Pathname.i')
-rw-r--r--swig/Pathname.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/swig/Pathname.i b/swig/Pathname.i
index 7bc4cfd..419d8f8 100644
--- a/swig/Pathname.i
+++ b/swig/Pathname.i
@@ -14,6 +14,9 @@ public:
#ifdef SWIGRUBY
+// Something like 'opts.repoCachePath = tmp_cache_path.path()' causes out and
+// in transformation. Can that be avoided?
+
%typemap(in) const Pathname&, Pathname* {
VALUE pathstring = rb_funcall( $input, rb_intern("to_s"), 0, 0);
Pathname *p = new Pathname( (RSTRING(pathstring)->ptr) );