add minor documentation

This commit is contained in:
Srayan Jana committed 2025-09-25 11:19:39 -07:00
1 parent d56efc38bc
commit b30856e04b
2 files changed
+4

No files matched your search

+1
View File
@@ -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