Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41349 - in /trunk/python-bindings/src: YCPDeclarations.cc YCPDeclarations.py
  • From: dfiser@xxxxxxxxxxxxxxxx
  • Date: Wed, 10 Oct 2007 16:56:13 -0000
  • Message-id: <20071010165613.6C10335FB2@xxxxxxxxxxxxxxxx>
Author: dfiser
Date: Wed Oct 10 18:56:13 2007
New Revision: 41349

URL: http://svn.opensuse.org/viewcvs/yast?rev=41349&view=rev
Log:
 - Added YCP types 'map' and 'list' into YCPDeclarations.

Modified:
    trunk/python-bindings/src/YCPDeclarations.cc
    trunk/python-bindings/src/YCPDeclarations.py

Modified: trunk/python-bindings/src/YCPDeclarations.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/python-bindings/src/YCPDeclarations.cc?rev=41349&r1=41348&r2=41349&view=diff
==============================================================================
--- trunk/python-bindings/src/YCPDeclarations.cc (original)
+++ trunk/python-bindings/src/YCPDeclarations.cc Wed Oct 10 18:56:13 2007
@@ -146,6 +146,10 @@
         return Type::Symbol;
     if (type == "term")
         return Type::Term;
+    if (type == "map")
+        return Type::Map;
+    if (type == "list")
+        return Type::List;
 
     // default:
     return Type::Any;

Modified: trunk/python-bindings/src/YCPDeclarations.py
URL: http://svn.opensuse.org/viewcvs/yast/trunk/python-bindings/src/YCPDeclarations.py?rev=41349&r1=41348&r2=41349&view=diff
==============================================================================
--- trunk/python-bindings/src/YCPDeclarations.py (original)
+++ trunk/python-bindings/src/YCPDeclarations.py Wed Oct 10 18:56:13 2007
@@ -60,7 +60,9 @@
         "symbol",
         "path",
         "float",
-        "void"
+        "void",
+        "map",
+        "list"
     )
 
     def __init__(self, return_type, *params_types):

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages