use IntegerType, FloatingType, and rank attributes to analyze arithmetic
authorJürg Billeter <j@bitron.ch>
Sat, 2 Sep 2006 11:04:24 +0000 (11:04 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 2 Sep 2006 11:04:24 +0000 (11:04 +0000)
commitbe3441b33888bf91add9df8c5920e74c11b799f2
tree98b5af93fab738a4e9ff609147f2bc52ced9c204
parentbcaee210559663e42f109c9d5da224713cafb7c8
use IntegerType, FloatingType, and rank attributes to analyze arithmetic

2006-09-02  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: use IntegerType, FloatingType, and
  rank attributes to analyze arithmetic operations
* vala/valacodegenerator.vala: generate C casts for explicit value-type
  casts
* vala/valastruct.vala: add is_integer_type, is_floating_type, and
  get_rank methods, add IntegerType and FloatingType attributes
* vala/valasemanticanalyzer.vala, vala/valacastexpression.vala,
  vala/valainstancecast.vala, ccode/valaccodecastexpression.vala: fix
  typos
* vapi/glib-2.0.vala: add int16, uint16, int32, uint32, use IntegerType
  and FloatingType attributes

svn path=/trunk/; revision=117
vala/ChangeLog
vala/ccode/valaccodecastexpression.vala
vala/vala/valacastexpression.vala
vala/vala/valacodegenerator.vala
vala/vala/valainstancecast.vala
vala/vala/valasemanticanalyzer.vala
vala/vala/valastruct.vala
vala/vapi/glib-2.0.vala