diff options
| author | Ray <[email protected]> | 2022-05-01 11:14:28 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-05-01 11:14:28 +0200 |
| commit | 666aa44a844febf4b38f774f8a143438400d0354 (patch) | |
| tree | 6ea6f9bd916a8e0312ed162e9903482a9549aaec /src/raylib.h | |
| parent | f169530d8f106a8175e3c0953b3af5cb4bce8ed9 (diff) | |
| download | raylib-666aa44a844febf4b38f774f8a143438400d0354.tar.gz raylib-666aa44a844febf4b38f774f8a143438400d0354.zip | |
Reviewed some comments
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/raylib.h b/src/raylib.h index 962b19be..17045d7f 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1054,19 +1054,19 @@ RLAPI const char *GetDirectoryPath(const char *filePath); // Get full pa RLAPI const char *GetPrevDirectoryPath(const char *dirPath); // Get previous directory path for a given path (uses static string) RLAPI const char *GetWorkingDirectory(void); // Get current working directory (uses static string) RLAPI const char *GetApplicationDirectory(void); // Get the directory if the running application (uses static string) -RLAPI char **GetDirectoryFiles(const char *dirPath, int *count); // Get filenames in a directory path (memory should be freed) +RLAPI char **GetDirectoryFiles(const char *dirPath, int *count); // Get filenames in a directory path (memory must be freed) RLAPI void ClearDirectoryFiles(void); // Clear directory files paths buffers (free memory) RLAPI bool ChangeDirectory(const char *dir); // Change working directory, return true on success RLAPI bool IsFileDropped(void); // Check if a file has been dropped into window -RLAPI char **GetDroppedFiles(int *count); // Get dropped files names (memory should be freed) +RLAPI char **GetDroppedFiles(int *count); // Get dropped files names (memory must be freed) RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory) RLAPI long GetFileModTime(const char *fileName); // Get file modification time (last write time) // Compression/Encoding functionality -RLAPI unsigned char *CompressData(const unsigned char *data, int dataSize, int *compDataSize); // Compress data (DEFLATE algorithm) -RLAPI unsigned char *DecompressData(const unsigned char *compData, int compDataSize, int *dataSize); // Decompress data (DEFLATE algorithm) -RLAPI char *EncodeDataBase64(const unsigned char *data, int dataSize, int *outputSize); // Encode data to Base64 string -RLAPI unsigned char *DecodeDataBase64(const unsigned char *data, int *outputSize); // Decode Base64 string data +RLAPI unsigned char *CompressData(const unsigned char *data, int dataSize, int *compDataSize); // Compress data (DEFLATE algorithm), memory must be MemFree() +RLAPI unsigned char *DecompressData(const unsigned char *compData, int compDataSize, int *dataSize); // Decompress data (DEFLATE algorithm), memory must be MemFree() +RLAPI char *EncodeDataBase64(const unsigned char *data, int dataSize, int *outputSize); // Encode data to Base64 string, memory must be MemFree() +RLAPI unsigned char *DecodeDataBase64(const unsigned char *data, int *outputSize); // Decode Base64 string data, memory must be MemFree() // Persistent storage management RLAPI bool SaveStorageValue(unsigned int position, int value); // Save integer value to storage file (to defined position), returns true on success |
