Use C++ streams over C style IO

This commit is contained in:
Perceval Wajsbürt
2023-06-02 00:36:58 +02:00
committed by Perceval Wajsbürt
parent 409f175827
commit c4c35fc531
10 changed files with 488 additions and 460 deletions

3
data.h
View File

@@ -2,6 +2,7 @@
#define _PYC_FILE_H
#include <cstdio>
#include <ostream>
#ifdef WIN32
typedef __int64 Pyc_INT64;
@@ -56,6 +57,6 @@ private:
int m_size, m_pos;
};
extern FILE* pyc_output;
int formatted_print(std::ostream& stream, const std::string& format, ...);
#endif