diff options
Diffstat (limited to 'src/cc4group.h')
| -rw-r--r-- | src/cc4group.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cc4group.h b/src/cc4group.h index a63d995..5031e95 100644 --- a/src/cc4group.h +++ b/src/cc4group.h @@ -35,7 +35,7 @@ typedef void* (*CC4Group_TmpMemoryStrategy)(CC4Group* const this, const size_t s // the callback has to store a pointer to the newly read data in data, as well as the amount of read data in size // the callback must return true if the end of data is reached or any read error happens and false otherwise // the pointer passed in will be handled as specified with the corresponding MemoryManagement -typedef bool (*CC4Group_ReadCallback)(const uint8_t** const data, size_t* const size, void* const arg); +typedef bool (*CC4Group_ReadCallback)(const void** const data, size_t* const size, void* const arg); typedef struct { CC4Group* (*new)(void); @@ -50,7 +50,7 @@ typedef struct { // only open an in-memory group on a frehsly created group object // see the description of MemoryManagement to know if and when data has to be freed by the caller // if the lazy mode is not used, the data can be freed immediately after this function returns - bool (*openMemory)(CC4Group* const this, const uint8_t* const groupData, size_t const size, int const memoryManagement); + bool (*openMemory)(CC4Group* const this, const void* const groupData, size_t const size, int const memoryManagement); // opens a group through a file descriptor // the file descriptor must have been opened with read access |
