add minor documentation
This commit is contained in:
1 parent
d56efc38bc
commit
b30856e04b
2 files changed
+4
No files matched your search
@@ -71,6 +71,7 @@ private opaque SDLTexture.nonemptyType : NonemptyType
|
||||
def SDLTexture : Type := SDLTexture.nonemptyType.type
|
||||
instance SDLTexture.instNonempty : Nonempty SDLTexture := SDLTexture.nonemptyType.property
|
||||
|
||||
-- this should return an option depending on whether the texture was loaded successfully or not
|
||||
@[extern "sdl_load_texture"]
|
||||
opaque loadTexture? : String → IO SDLTexture
|
||||
|
||||
|
||||
Reference in new issue
Block a user