ruby: vectors default to int32_t

develop
jj 2013-09-29 15:11:56 +02:00
parent 32a6073dad
commit a18347608a
1 changed files with 1 additions and 1 deletions

@ -475,7 +475,7 @@ module DFHack
class StlVector32 < MemStruct class StlVector32 < MemStruct
attr_accessor :_tg attr_accessor :_tg
def initialize(tg) def initialize(tg)
@_tg = tg @_tg = tg || Number.new(32, false, 0, nil)
end end
def length def length