projects
/
platform
/
upstream
/
libzypp-bindings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e706db2
)
- rename asString
author
Arvin Schnell
<aschnell@suse.de>
Fri, 31 Aug 2007 09:22:39 +0000
(09:22 +0000)
committer
Arvin Schnell
<aschnell@suse.de>
Fri, 31 Aug 2007 09:22:39 +0000
(09:22 +0000)
swig/Dep.i
patch
|
blob
|
history
diff --git
a/swig/Dep.i
b/swig/Dep.i
index
97afdde
..
50f0751
100644
(file)
--- a/
swig/Dep.i
+++ b/
swig/Dep.i
@@
-1,6
+1,10
@@
+#if defined(SWIGPYTHON) || defined(SWIGRUBY)
+%rename Dep::asString "__str__";
+#endif
+
struct Dep
-
{
+{
/** \name Dependency types
* These are the \em real dependency type contants to
* use. Don't mind that it's not an enum.
@@
-61,4
+65,4
@@
struct Dep
{}
/** The operator. */
for_use_in_switch _type;
- };
\ No newline at end of file
+};