[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/bindings/smokegenerator
From: Arno Rehn <kde () arnorehn ! de>
Date: 2009-06-29 22:05:23
Message-ID: 1246313123.327698.17184.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 989302 by arnorehn:
array support (for now this only increases the pointer depth)
M +3 -0 type_compiler.cpp
--- trunk/playground/bindings/smokegenerator/type_compiler.cpp #989301:989302
@@ -67,6 +67,9 @@
if (declarator->ptr_ops)
run(declarator->ptr_ops);
+ if (declarator->array_dimensions)
+ m_realType.setPointerDepth(m_realType.pointerDepth() + 1);
+
NameCompiler name_cc(m_session, m_visitor);
name_cc.run(declarator->id);
if (declarator->parameter_declaration_clause && declarator->sub_declarator && \
name_cc.qualifiedName().isEmpty()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic