-
-
Save domgetter/3506aab2246168890b5522a7c900a20c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in src/sdl_test.cr:1123: no overload matches 'String.new' with type Pointer(UInt8) | |
Overloads are: | |
- String.new(bytes : Bytes, encoding : String, invalid : Symbol | ::Nil = nil) | |
- String.new(chars : ::Pointer(UInt8), bytesize, size = 0) | |
- String.new(slice : Bytes) | |
- String.new(chars : ::Pointer(UInt8)) | |
- String.new(capacity : Int, &block) | |
- Reference.new() | |
info_log = String.new(info_log_length.as(::Pointer(UInt8))) do |buffer| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment