mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 23:04:35 +02:00
committed by
Richard Hodges
parent
1054661723
commit
871e439ac1
@@ -1,3 +1,4 @@
|
|||||||
|
* Fix FILE namespace qualification
|
||||||
* Fix http read bytes_transferred (API Change)
|
* Fix http read bytes_transferred (API Change)
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
@@ -26,14 +26,14 @@ namespace beast {
|
|||||||
*/
|
*/
|
||||||
class file_stdio
|
class file_stdio
|
||||||
{
|
{
|
||||||
FILE* f_ = nullptr;
|
std::FILE* f_ = nullptr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/** The type of the underlying file handle.
|
/** The type of the underlying file handle.
|
||||||
|
|
||||||
This is platform-specific.
|
This is platform-specific.
|
||||||
*/
|
*/
|
||||||
using native_handle_type = FILE*;
|
using native_handle_type = std::FILE*;
|
||||||
|
|
||||||
/** Destructor
|
/** Destructor
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ public:
|
|||||||
file_stdio& operator=(file_stdio&& other);
|
file_stdio& operator=(file_stdio&& other);
|
||||||
|
|
||||||
/// Returns the native handle associated with the file.
|
/// Returns the native handle associated with the file.
|
||||||
FILE*
|
std::FILE*
|
||||||
native_handle() const
|
native_handle() const
|
||||||
{
|
{
|
||||||
return f_;
|
return f_;
|
||||||
@@ -77,7 +77,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
BOOST_BEAST_DECL
|
BOOST_BEAST_DECL
|
||||||
void
|
void
|
||||||
native_handle(FILE* f);
|
native_handle(std::FILE* f);
|
||||||
|
|
||||||
/// Returns `true` if the file is open
|
/// Returns `true` if the file is open
|
||||||
bool
|
bool
|
||||||
|
Reference in New Issue
Block a user