mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Update filestream_transforms.h
This commit is contained in:
parent
c563eedb32
commit
f52708e205
2 changed files with 9 additions and 0 deletions
|
@ -41,6 +41,7 @@ RETRO_BEGIN_DECLS
|
|||
#undef fgetc
|
||||
#undef fwrite
|
||||
#undef fputc
|
||||
#undef fflush
|
||||
#undef fprintf
|
||||
#undef ferror
|
||||
#undef feof
|
||||
|
@ -54,6 +55,7 @@ RETRO_BEGIN_DECLS
|
|||
#define fgetc rfgetc
|
||||
#define fwrite rfwrite
|
||||
#define fputc rfputc
|
||||
#define fflush rfflush
|
||||
#define fprintf rfprintf
|
||||
#define ferror rferror
|
||||
#define feof rfeof
|
||||
|
@ -78,6 +80,8 @@ int64_t rfwrite(void const* buffer,
|
|||
|
||||
int rfputc(int character, RFILE * stream);
|
||||
|
||||
int64_t rfflush(RFILE * stream);
|
||||
|
||||
int rfprintf(RFILE * stream, const char * format, ...);
|
||||
|
||||
int rferror(RFILE* stream);
|
||||
|
|
|
@ -123,6 +123,11 @@ int rfputc(int character, RFILE * stream)
|
|||
return filestream_putc(stream, character);
|
||||
}
|
||||
|
||||
int64_t rfflush(RFILE * stream)
|
||||
{
|
||||
return filestream_flush(stream);
|
||||
}
|
||||
|
||||
int rfprintf(RFILE * stream, const char * format, ...)
|
||||
{
|
||||
int result;
|
||||
|
|
Loading…
Add table
Reference in a new issue