Skip to content

Commit

Permalink
Use size_t type for Gosu_Image_create_from_blob size argument
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberarm committed Oct 6, 2023
1 parent c8ad6ef commit aebbaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gosu/image.cr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Gosu
fun create_image_from_markup = Gosu_Image_create_from_markup(text : UInt8*, font : UInt8*, line_height : Float64,
width : Int32, spacing : Float64, alignment_flags : UInt32,
font_flags : UInt32, image_flags : UInt32) : UInt8*
fun create_image_from_blob = Gosu_Image_create_from_blob(blob : UInt8*, size : UInt32, width : Int32, height : Int32,
fun create_image_from_blob = Gosu_Image_create_from_blob(blob : UInt8*, size : LibC::SizeT, width : Int32, height : Int32,
image_flags : UInt32) : UInt8*
fun load_tiles = Gosu_Image_create_from_tiles(filename : UInt8*, width : Int32, height : Int32,
function : (Void*, UInt8* ->), data : Void*, image_flags : UInt32)
Expand Down

0 comments on commit aebbaec

Please sign in to comment.