[Cleanup] Quantum Painter (#19825)

Co-authored-by: Nick Brassel <[email protected]>
This commit is contained in:
Pablo MartínezandNick Brassel authored and GitHub committed 2023-03-25 18:56:04 +01:00
1 parent e640fd65ff
commit cd542a0f67
25 files changed
+171 -169

No files matched your search

+2 -2
View File
@@ -48,14 +48,14 @@ uint32_t qp_stream_write_impl(const void *input_buf, uint32_t member_size, uint3
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Stream definition
struct qp_stream_t {
typedef struct qp_stream_t {
int16_t (*get)(qp_stream_t *stream);
bool (*put)(qp_stream_t *stream, uint8_t c);
int (*seek)(qp_stream_t *stream, int32_t offset, int origin);
int32_t (*tell)(qp_stream_t *stream);
bool (*is_eof)(qp_stream_t *stream);
void (*close)(qp_stream_t *stream);
};
} qp_stream_t;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Memory streams