diff options
author | Pablo MartÃnez <58857054+elpekenin@users.noreply.github.com> | 2023-03-25 18:56:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 18:56:04 +0100 |
commit | cd542a0f6767231d73386c0913a9d2ee062ccf80 (patch) | |
tree | 43e5328aeb8fee3e2e9e06daee4aad7f47ca73fa /quantum/painter/qp_stream.h | |
parent | e640fd65fffd6332fbdddde06194dcfa6ce4fb52 (diff) |
[Cleanup] Quantum Painter (#19825)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'quantum/painter/qp_stream.h')
-rw-r--r-- | quantum/painter/qp_stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/painter/qp_stream.h b/quantum/painter/qp_stream.h index c0e745adc1..4f2b612e43 100644 --- a/quantum/painter/qp_stream.h +++ b/quantum/painter/qp_stream.h @@ -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 |