diff options
| author | Ray <[email protected]> | 2022-04-06 20:50:50 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-04-06 20:50:50 +0200 |
| commit | f71cc53bc99e7efbf00ffd9147fc4c029fcc6f7d (patch) | |
| tree | aa0c4498c76e5b03669c34a392c120125399313b /src/raylib.h | |
| parent | 07240b96ad7c689119e70714f3fb39852b3657b7 (diff) | |
| download | raylib-f71cc53bc99e7efbf00ffd9147fc4c029fcc6f7d.tar.gz raylib-f71cc53bc99e7efbf00ffd9147fc4c029fcc6f7d.zip | |
WARNING: RENAMED: some parameters from length to size
When referring to byte array SIZE, I find it more clear than length
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 7cb19927..b6f77d87 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1063,10 +1063,10 @@ RLAPI void ClearDroppedFiles(void); // Clear dropp 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 dataLength, int *compDataLength); // Compress data (DEFLATE algorithm) -RLAPI unsigned char *DecompressData(const unsigned char *compData, int compDataLength, int *dataLength); // Decompress data (DEFLATE algorithm) -RLAPI char *EncodeDataBase64(const unsigned char *data, int dataLength, int *outputLength); // Encode data to Base64 string -RLAPI unsigned char *DecodeDataBase64(const unsigned char *data, int *outputLength); // Decode Base64 string data +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 // Persistent storage management RLAPI bool SaveStorageValue(unsigned int position, int value); // Save integer value to storage file (to defined position), returns true on success |
