16 #ifndef INCLUDE_NN_NLIB_ZLIBINPUTSTREAM_H_ 17 #define INCLUDE_NN_NLIB_ZLIBINPUTSTREAM_H_ 28 typedef void* (*ReallocFunc)(
void* p,
size_t n) NLIB_NOEXCEPT_FUNCPTR;
37 buffer_size(64 * 1024),
43 buffer_size(buffer_size_),
49 buffer_size(buffer_size_),
50 realloc_func(realloc_func_) {}
60 return this->Init(settings);
65 struct ZlibInputStreamPrivate;
66 ZlibInputStreamPrivate* prv_;
73 #endif // INCLUDE_NN_NLIB_ZLIBINPUTSTREAM_H_ #define NLIB_OVERRIDE
Defines override if it is available for use. If not, holds an empty string.
#define NLIB_DISALLOW_COPY_AND_ASSIGN(TypeName)
Prohibits use of the copy constructor and assignment operator for the class specified by TypeName...
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.