[Bf-blender-cvs] CVS commit: blender/source/blender/makesdna DNA_userdef_types.h

Ton Roosendaal ton at blender.org
Sun Jul 10 10:31:56 CEST 2005


ton (Ton Roosendaal) 2005/07/10 10:31:56 CEST

  Modified files:
    blender/source/blender/makesdna DNA_userdef_types.h 
  
  Log:
  Changed type for new textimeout and texcollectrate into "int".
  
  Please note that the "long" should be avoided in dna structs... it is a
  reserved type for use in our code for pointer storage. It is 32 or 64 bits,
  depending CPU architecture (pointer size).
  
  The "long" type currently is in the makesdna.c code, and interpreted as 32
  bits only, which is actually wrong yes... I should remove it or code it
  correct.
  
  BTW; this gave a warning in space.c, another case where MSVC forgives you?
  :)
  
  Revision  Changes    Path
  1.44      +2 -2      blender/source/blender/makesdna/DNA_userdef_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_userdef_types.h.diff?r1=1.43&r2=1.44&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list