mirror of https://github.com/FreeRDP/FreeRDP
Added Stream_ConstPointer
This commit is contained in:
parent
10e40147fb
commit
ccaf3c938c
|
@ -367,6 +367,12 @@ extern "C"
|
|||
return _s->pointer;
|
||||
}
|
||||
|
||||
static INLINE const BYTE* Stream_ConstPointer(const wStream* _s)
|
||||
{
|
||||
WINPR_ASSERT(_s);
|
||||
return _s->pointer;
|
||||
}
|
||||
|
||||
#define Stream_GetPointer(_s, _p) _p = Stream_Pointer(_s)
|
||||
|
||||
#if defined(WITH_WINPR_DEPRECATED)
|
||||
|
|
Loading…
Reference in New Issue