--- encoding2.c	Fri Apr 29 20:30:17 2011
+++ /tmp/encoding2.c	Wed Jul  6 19:33:10 2011
@@ -21,6 +21,7 @@
 	{
 		type++;
 	}
+fprintf(stderr, "objc_skip_type_qualifiers returning type: %s\n", type);
 	return type;
 }
 
@@ -76,6 +77,7 @@
 	// skip [
 	(*type)++;
 	int element_count = (int)strtol(*type, (char**)type, 10);
+fprintf(stderr, "parse_array: element_count: %i, type: %s\n", element_count, *type);
 	*type = callback(*type, context);
 	// skip ]
 	(*type)++;
@@ -149,7 +151,9 @@
 
 static const char *sizeof_type(const char *type, size_t *size)
 {
+fprintf(stderr, "sizeof_type: type before objc_skip_type_qualifiers: %s size: %lu\n", type, *size);
 	type = objc_skip_type_qualifiers(type);
+fprintf(stderr, "sizeof_type: type after objc_skip_type_qualifiers: %s\n", type);
 	switch (*type)
 	{
 		// For all primitive types, we round up the current size to the
