mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 12:20:21 +00:00
[SAL]
* Add _Outptr_opt_result_buffer_ and _Outptr_opt_result_bytebuffer_ annotations. svn path=/trunk/; revision=58468
This commit is contained in:
parent
8a40130a38
commit
328a638575
|
@ -807,13 +807,13 @@ enum __SAL_YesNo {_SAL_notpresent, _SAL_no, _SAL_maybe, _SAL_yes, _SAL_default};
|
|||
//#define _Out_z_capcount_(capcount)
|
||||
#define _Outptr_ _SAL2_NAME(_Outptr_) _Group_([SA_Pre(Null=SA_No,Notref=1)] [SA_Pre(WritableElementsConst=1,Notref=1)] [SA_Post(Valid=SA_Yes)] [SA_Post(Deref=1,Null=SA_No,Notref=1,ValidElements="\n""1")])
|
||||
#define _Outptr_opt_ _SAL2_NAME(_Outptr_opt_) _Group_([SA_Pre(Null=SA_Maybe,Notref=1)] [SA_Pre(WritableElementsConst=1,Notref=1)] [SA_Post(Valid=SA_Yes)] [SA_Post(Deref=1,Null=SA_No,Notref=1,ValidElements="\n""1")])
|
||||
//#define _Outptr_opt_result_buffer_(size)
|
||||
#define _Outptr_opt_result_buffer_(size) _SAL2_NAME(_Outptr_opt_result_buffer_) _Group_([SA_Pre(Null=SA_Maybe,Notref=1)] [SA_Pre(WritableElementsConst=1,Notref=1)] [SA_Post(Valid=SA_Yes)] [SA_Post(Deref=1,Null=SA_No,Notref=1,WritableElements="\n" _SA_SPECSTRIZE(size))])
|
||||
//#define _Outptr_opt_result_buffer_all_(size)
|
||||
//#define _Outptr_opt_result_buffer_all_maybenull_(size)
|
||||
//#define _Outptr_opt_result_buffer_maybenull_(size)
|
||||
//#define _Outptr_opt_result_buffer_to_(size, count)
|
||||
//#define _Outptr_opt_result_buffer_to_maybenull_(size, count)
|
||||
//#define _Outptr_opt_result_bytebuffer_(size)
|
||||
#define _Outptr_opt_result_bytebuffer_(size) _SAL2_NAME(_Outptr_opt_result_bytebuffer_) _Group_([SA_Pre(Null=SA_Maybe,Notref=1)] [SA_Pre(WritableElementsConst=1,Notref=1)] [SA_Post(Valid=SA_Yes)] [SA_Post(Deref=1,Null=SA_No,Notref=1,WritableBytes="\n" _SA_SPECSTRIZE(size))])
|
||||
//#define _Outptr_opt_result_bytebuffer_all_(size)
|
||||
#define _Outptr_opt_result_bytebuffer_all_maybenull_(size) _SAL2_NAME(_Outptr_opt_) _Group_([SA_Pre(Null=SA_Maybe,Notref=1)] [SA_Pre(WritableElementsConst=1,Notref=1)] [SA_Post(Valid=SA_Yes)] [SA_Post(Deref=1,Null=SA_Maybe,Notref=1,ValidBytes="\n" _SA_SPECSTRIZE(size))])
|
||||
//#define _Outptr_opt_result_bytebuffer_maybenull_(size)
|
||||
|
|
Loading…
Reference in a new issue