mirror of https://github.com/PrimeDecomp/prime.git
parent
6473aae6a9
commit
d26b7a4753
|
@ -6,8 +6,8 @@
|
||||||
class CMemoryInStream : public CInputStream {
|
class CMemoryInStream : public CInputStream {
|
||||||
public:
|
public:
|
||||||
enum EOwnerShip {
|
enum EOwnerShip {
|
||||||
kOS_NotOwned,
|
|
||||||
kOS_Owned,
|
kOS_Owned,
|
||||||
|
kOS_NotOwned,
|
||||||
};
|
};
|
||||||
|
|
||||||
CMemoryInStream(const void* ptr, unsigned long len);
|
CMemoryInStream(const void* ptr, unsigned long len);
|
||||||
|
|
|
@ -8,4 +8,4 @@ CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len)
|
||||||
: CInputStream(ptr, len, false) {}
|
: CInputStream(ptr, len, false) {}
|
||||||
|
|
||||||
CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership)
|
CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership)
|
||||||
: CInputStream(ptr, len, ownership == kOS_NotOwned) {}
|
: CInputStream(ptr, len, ownership == kOS_Owned) {}
|
||||||
|
|
Loading…
Reference in New Issue