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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org