@@ -2787,9 +2787,9 @@ def TextCopy(dst: bytes,src: bytes,) -> int:
27872787def TextFindIndex (text : bytes ,search : bytes ,) -> int :
27882788 """Find first text occurrence within a string, -1 if not found."""
27892789 ...
2790- def TextFormat (* args ) -> bytes :
2791- """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI """
2792- ...
2790+ def TextFormat (text : bytes , * args : Any ) -> bytes :
2791+ """Text formatting with variables (sprintf() style). """
2792+ ...
27932793def TextInsert (text : bytes ,insert : bytes ,position : int ,) -> bytes :
27942794 """Insert text in a defined byte position."""
27952795 ...
@@ -2853,9 +2853,9 @@ def ToggleBorderlessWindowed() -> None:
28532853def ToggleFullscreen () -> None :
28542854 """Toggle window state: fullscreen/windowed, resizes monitor to match window resolution."""
28552855 ...
2856- def TraceLog (* args ) -> None :
2857- """VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI """
2858- ...
2856+ def TraceLog (logLevel : int , text : bytes , * args : Any ) -> None :
2857+ """Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...). """
2858+ ...
28592859def UnloadAudioStream (stream : AudioStream | list | tuple ,) -> None :
28602860 """Unload audio stream and free memory."""
28612861 ...
0 commit comments