diff options
| author | Dominus Iniquitatis <[email protected]> | 2020-10-31 16:40:35 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-31 14:40:35 +0100 |
| commit | fc1fc250e7ae39af7aadb1d00a7e098ea01aa8cd (patch) | |
| tree | 11de17e961be6dbb53d962b39ae4af35f84ef748 /src/raylib.h | |
| parent | 8327857488404b6a242eb771e55ee7b674c61f64 (diff) | |
| download | raylib-fc1fc250e7ae39af7aadb1d00a7e098ea01aa8cd.tar.gz raylib-fc1fc250e7ae39af7aadb1d00a7e098ea01aa8cd.zip | |
A couple of little comment fixes (#1416)
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/raylib.h b/src/raylib.h index f8a203bc..3ec32c8b 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -974,9 +974,9 @@ RLAPI void SaveFileData(const char *fileName, void *data, unsigned int bytesToWr RLAPI char *LoadFileText(const char *fileName); // Load text data from file (read), returns a '\0' terminated string RLAPI void SaveFileText(const char *fileName, char *text); // Save text data to file (write), string must be '\0' terminated RLAPI bool FileExists(const char *fileName); // Check if file exists -RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension (including point: .png,.wav) +RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension (including point: .png, .wav) RLAPI bool DirectoryExists(const char *dirPath); // Check if a directory path exists -RLAPI const char *GetFileExtension(const char *fileName); // Get pointer to extension for a filename string (including point: ".png") +RLAPI const char *GetFileExtension(const char *fileName); // Get pointer to extension for a filename string (including point: ".png") RLAPI const char *GetFileName(const char *filePath); // Get pointer to filename for a path string RLAPI const char *GetFileNameWithoutExt(const char *filePath); // Get filename string without extension (uses static string) RLAPI const char *GetDirectoryPath(const char *filePath); // Get full path for a given fileName with path (uses static string) @@ -990,8 +990,8 @@ RLAPI char **GetDroppedFiles(int *count); // Get dropped RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory) RLAPI long GetFileModTime(const char *fileName); // Get file modification time (last write time) -RLAPI unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLength); // Compress data (DEFLATE algorythm) -RLAPI unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *dataLength); // Decompress data (DEFLATE algorythm) +RLAPI unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLength); // Compress data (DEFLATE algorithm) +RLAPI unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *dataLength); // Decompress data (DEFLATE algorithm) // Persistent storage management RLAPI void SaveStorageValue(unsigned int position, int value); // Save integer value to storage file (to defined position) |
