Fix typo in Read, Write and Peek functions signatures
All checks were successful
CI / build-and-analyze (push) Successful in 1m0s

This commit is contained in:
2026-07-26 19:22:05 +03:00
parent ee0fe4ff2d
commit 7e97383d0d
4 changed files with 8 additions and 8 deletions

View File

@@ -45,10 +45,10 @@ typedef struct CgeFile CgeFile;
CgeFile *CgeFileNew(const char *path, int mode, int *result);
void CgeFileFree(CgeFile *file);
int CgeFileRead(CgeFile *file, char *buffer, size_t size, size_t *actual);
int CgeFileWrite(CgeFile *file, const char *buffer, size_t size,
int CgeFileRead(CgeFile *file, void *buffer, size_t size, size_t *actual);
int CgeFileWrite(CgeFile *file, const void *buffer, size_t size,
size_t *actual);
int CgeFilePeek(CgeFile *file, char *buffer, size_t size, size_t *actual);
int CgeFilePeek(CgeFile *file, void *buffer, size_t size, size_t *actual);
int CgeFileTell(CgeFile *file, int64_t *offset);
int CgeFileSeek(CgeFile *file, int64_t offset, int whence);
int CgeFileFlush(CgeFile *file);