lib/gir_ffi/builder/function.rb in gir_ffi-0.0.7 vs lib/gir_ffi/builder/function.rb in gir_ffi-0.0.8
- old
+ new
@@ -16,13 +16,13 @@
alldata = @data.dup << @rvdata
alldata.each {|data|
data.prepare
- idx = data.type.array_length
+ idx = data.type_info.array_length
if idx > -1
data.length_arg = @data[idx]
- @data[idx].length_arg_for = data
+ @data[idx].array_arg = data
end
}
adjust_accumulators
return filled_out_template