Remove STUB, add notes.
This commit is contained in:
parent
9b9481d072
commit
7661f465e5
@ -36,12 +36,17 @@
|
|||||||
|
|
||||||
#include "winpr-stream.h"
|
#include "winpr-stream.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE: Because the old API did not support local allocation of the buffer
|
||||||
|
* for each stream, these compatibility implementations ignore
|
||||||
|
* the parameters of Stream_New() and Stream_Free() that provide them.
|
||||||
|
*/
|
||||||
|
|
||||||
wStream* Stream_New(BYTE* buffer, size_t size) {
|
wStream* Stream_New(BYTE* buffer, size_t size) {
|
||||||
/* STUB */
|
|
||||||
return stream_new(size);
|
return stream_new(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Stream_Free(wStream* s, BOOL bFreeBuffer) {
|
void Stream_Free(wStream* s, BOOL bFreeBuffer) {
|
||||||
/* STUB */
|
stream_free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user