Sha256: 83fdf7db96deca5f897c8a04bcdb86e2dbcf27d4a09dd5b0e4b8721f8dac292d
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 Bytes
Contents
require "ffi" require "stb_image_ffi/version" module STBImage extend FFI::Library ffi_lib File.join(__dir__, "./stb_image.so") typedef :uchar, "stbi_uc" typedef :ushort, "stbi_us" attach_function :stbi_set_flip_vertically_on_load, [:int], :void attach_function :stbi_load, [:string, :pointer, :pointer, :pointer, :int], :pointer end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stb_image_ffi-1.0.2 | lib/stb_image_ffi.rb |
stb_image_ffi-1.0.1 | lib/stb_image_ffi.rb |
stb_image_ffi-1.0.0 | lib/stb_image_ffi.rb |