mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -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();
|
||||
|
||||
INLINE std::istream *get_istream() const;
|
||||
MAKE_PROPERTY(std::istream, get_istream);
|
||||
MAKE_PROPERTY(istream, get_istream);
|
||||
|
||||
public:
|
||||
void read(char *buffer, std::streamsize num_bytes);
|
||||
@ -91,7 +91,7 @@ PUBLISHED:
|
||||
~OStreamWrapper();
|
||||
|
||||
INLINE std::ostream *get_ostream() const;
|
||||
MAKE_PROPERTY(std::ostream, get_ostream);
|
||||
MAKE_PROPERTY(ostream, get_ostream);
|
||||
|
||||
public:
|
||||
void write(const char *buffer, std::streamsize num_bytes);
|
||||
@ -127,7 +127,7 @@ PUBLISHED:
|
||||
~StreamWrapper();
|
||||
|
||||
INLINE std::iostream *get_iostream() const;
|
||||
MAKE_PROPERTY(std::iostream, get_iostream);
|
||||
MAKE_PROPERTY(iostream, get_iostream);
|
||||
|
||||
private:
|
||||
std::iostream *_iostream;
|
||||
|
Loading…
x
Reference in New Issue
Block a user