Skip to content

Commit

Permalink
make optcarrot sdl output-only work
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Mar 2, 2017
1 parent a203d29 commit 26fdea6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib-topaz/ffitopaz/pointer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ def NULL.method_missing(meth_id, *args)
end
raise NoMethodError.new("undefined method `#{meth_name}' for #{self}")
end

def write_array_of_uint32(ary)
write_string(ary.pack("L#{ary.size}"))
end
end
end

0 comments on commit 26fdea6

Please sign in to comment.