Decouple <cstddef>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include "RageFileBasic.h"
|
||||
#include "RageThreads.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
struct RageFileObjMemFile;
|
||||
class RageFileObjMem: public RageFileObj
|
||||
{
|
||||
@@ -15,8 +17,8 @@ public:
|
||||
RageFileObjMem( const RageFileObjMem &cpy );
|
||||
~RageFileObjMem();
|
||||
|
||||
int ReadInternal( void *buffer, size_t bytes );
|
||||
int WriteInternal( const void *buffer, size_t bytes );
|
||||
int ReadInternal( void *buffer, std::size_t bytes );
|
||||
int WriteInternal( const void *buffer, std::size_t bytes );
|
||||
int SeekInternal( int offset );
|
||||
int GetFileSize() const;
|
||||
RageFileObjMem *Copy() const;
|
||||
@@ -51,7 +53,7 @@ private:
|
||||
/*
|
||||
* (c) 2004 Glenn Maynard
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
@@ -61,7 +63,7 @@ private:
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
|
||||
Reference in New Issue
Block a user