1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-08 20:20:26 +08:00

fix(file): wierd fgetc/ungetc behavior on Windows

This commit is contained in:
源文雨
2024-04-07 14:40:25 +08:00
parent e2f64f404f
commit da9b6a844a
5 changed files with 53 additions and 25 deletions

View File

@@ -84,8 +84,8 @@ union base16384_io_function_t {
typedef union base16384_io_function_t base16384_io_function_t;
struct base16384_stream_t {
const base16384_io_function_t f;
const void *client_data;
base16384_io_function_t f;
void *client_data;
};
/**
* @brief for stream encode/decode