Decouple <cstdint>

This commit is contained in:
Martin Natano
2023-04-21 22:13:41 +02:00
parent bcea05dd67
commit aa87f85eef
167 changed files with 1533 additions and 1307 deletions
+4 -3
View File
@@ -6,6 +6,7 @@
#include "global.h"
#include <cstddef>
#include <cstdint>
/* This is a simple file I/O interface. Although most of these operations
* are straightforward, there are several of them; most of the time, you'll
@@ -54,7 +55,7 @@ public:
virtual int PutLine( const RString &str ) = 0;
virtual void EnableCRC32( bool on=true ) = 0;
virtual bool GetCRC32( uint32_t *iRet ) = 0;
virtual bool GetCRC32( std::uint32_t *iRet ) = 0;
virtual int GetFileSize() const = 0;
@@ -94,7 +95,7 @@ public:
int PutLine( const RString &str );
void EnableCRC32( bool on=true );
bool GetCRC32( uint32_t *iRet );
bool GetCRC32( std::uint32_t *iRet );
virtual int GetFileSize() const = 0;
virtual int GetFD() { return -1; }
@@ -155,7 +156,7 @@ private:
* This is only meaningful if EnableCRC32() is called at the very start of the
* file, and no seeking is performed. */
bool m_bCRC32Enabled;
uint32_t m_iCRC32;
std::uint32_t m_iCRC32;
// Swallow up warnings. If they must be used, define them.
RageFileObj& operator=(const RageFileObj& rhs);