@@ -60,7 +60,7 @@ def test5(self):
6060 src_reader = parser .source_reader_t (self .config )
6161 global_ns = declarations .get_global_namespace (
6262 src_reader .read_string (code ))
63- arr_type = global_ns .variable ('arr' ).type
63+ arr_type = global_ns .variable ('arr' ).decl_type
6464 if self .config .xml_generator == "gccxml" :
6565 self .assertTrue (
6666 'char[4] const' == arr_type .decl_string ,
@@ -79,7 +79,7 @@ def test6(self):
7979 src_reader = parser .source_reader_t (self .config )
8080 global_ns = declarations .get_global_namespace (
8181 src_reader .read_string (code ))
82- arr_type = global_ns .variable ('arr' ).type
82+ arr_type = global_ns .variable ('arr' ).decl_type
8383 if self .config .xml_generator == "gccxml" :
8484 self .assertTrue (
8585 'char[4] volatile' == arr_type .decl_string ,
@@ -98,7 +98,7 @@ def test7(self):
9898 src_reader = parser .source_reader_t (self .config )
9999 global_ns = declarations .get_global_namespace (
100100 src_reader .read_string (code ))
101- arr_type = global_ns .variable ('arr' ).type
101+ arr_type = global_ns .variable ('arr' ).decl_type
102102 if self .config .xml_generator == "gccxml" :
103103 self .assertTrue (
104104 'char[4] const volatile' == arr_type .decl_string ,
0 commit comments