mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
prc: Fix istream/ostream/iostream properties of StreamWrapper
This commit is contained in:
parent
4e27264cac
commit
4dfe651133
@ -64,7 +64,7 @@ PUBLISHED:
|
|||||||
~IStreamWrapper();
|
~IStreamWrapper();
|
||||||
|
|
||||||
INLINE std::istream *get_istream() const;
|
INLINE std::istream *get_istream() const;
|
||||||
MAKE_PROPERTY(std::istream, get_istream);
|
MAKE_PROPERTY(istream, get_istream);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void read(char *buffer, std::streamsize num_bytes);
|
void read(char *buffer, std::streamsize num_bytes);
|
||||||
@ -91,7 +91,7 @@ PUBLISHED:
|
|||||||
~OStreamWrapper();
|
~OStreamWrapper();
|
||||||
|
|
||||||
INLINE std::ostream *get_ostream() const;
|
INLINE std::ostream *get_ostream() const;
|
||||||
MAKE_PROPERTY(std::ostream, get_ostream);
|
MAKE_PROPERTY(ostream, get_ostream);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void write(const char *buffer, std::streamsize num_bytes);
|
void write(const char *buffer, std::streamsize num_bytes);
|
||||||
@ -127,7 +127,7 @@ PUBLISHED:
|
|||||||
~StreamWrapper();
|
~StreamWrapper();
|
||||||
|
|
||||||
INLINE std::iostream *get_iostream() const;
|
INLINE std::iostream *get_iostream() const;
|
||||||
MAKE_PROPERTY(std::iostream, get_iostream);
|
MAKE_PROPERTY(iostream, get_iostream);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::iostream *_iostream;
|
std::iostream *_iostream;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user