Teach the groveler's cstruct :type to guess type when :auto is given.
authorJoshua Elsasser <joshua@elsasser.org>
Thu, 22 Nov 2012 19:41:45 +0000 (14:41 -0500)
committerLuís Oliveira <loliveira@common-lisp.net>
Sun, 6 Jan 2013 20:53:17 +0000 (20:53 +0000)
commit6f74f5e93d8c109fa00ff5526937a5066228d93a
tree7c51fe411484d1b9b0d9e4629b31e54e88142495
parent4e207452d844b34af2c2a9a5e26d3db18d885941
Teach the groveler's cstruct :type to guess type when :auto is given.

This means that integer size and signedness is determined by the
groveler in cases like this:

(cstruct autotype "struct mystruct"
 (myint "myint" :type :auto)
 (myarray "myarray" :type :auto :count :auto))
grovel/common.h
grovel/grovel.lisp