Skip to content

Commit

Permalink
raylib: remove null byte so ripgrep works better
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jun 30, 2024
1 parent 907360f commit 8382ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extra/raylib/raylib.factor
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,9 @@ FUNCTION-ALIAS: load-file-data c-string LoadFileData ( c-string fileName, uint*
FUNCTION-ALIAS: unload-file-data void UnloadFileData ( c-string data ) ! Unload file data allocated by LoadFileData()
FUNCTION-ALIAS: save-file-data bool SaveFileData ( c-string fileName, void* data, uint bytesToWrite ) ! Save data to file from byte array (write), returns true on success
FUNCTION-ALIAS: export-data-as-code bool ExportDataAsCode ( uchar* data, uint size, c-string fileName ) ! Export data to code (.h), returns true on success
FUNCTION-ALIAS: load-file-text c-string LoadFileText ( c-string fileName ) ! Load text data from file (read), returns a '
FUNCTION-ALIAS: load-file-text c-string LoadFileText ( c-string fileName ) ! Load text data from file (read), returns a '\0' terminated string
FUNCTION-ALIAS: unload-file-text void UnloadFileText ( c-string text ) ! Unload file text data allocated by LoadFileText()
FUNCTION-ALIAS: save-file-text bool SaveFileText ( c-string fileName, c-string text ) ! Save text data to file (write), string must be '
FUNCTION-ALIAS: save-file-text bool SaveFileText ( c-string fileName, c-string text ) ! Save text data to file (write), string must be '\0 terminated, returns true on success
FUNCTION-ALIAS: file-exists bool FileExists ( c-string fileName ) ! Check if file exists
FUNCTION-ALIAS: directory-exists bool DirectoryExists ( c-string dirPath ) ! Check if a directory path exists
FUNCTION-ALIAS: is-file-extension bool IsFileExtension ( c-string fileName, c-string ext ) ! Check file extension (including point: .png, .wav)
Expand Down

0 comments on commit 8382ffd

Please sign in to comment.