Author: akhaldi
Date: Tue Feb 26 18:22:36 2013
New Revision: 58372
URL:
http://svn.reactos.org/svn/reactos?rev=58372&view=rev
Log:
[SAL]
* Add _Field_size_opt_ annotation.
Modified:
trunk/reactos/include/psdk/sal.h
Modified: trunk/reactos/include/psdk/sal.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/sal.h?rev=583…
==============================================================================
--- trunk/reactos/include/psdk/sal.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/sal.h [iso-8859-1] Tue Feb 26 18:22:36 2013
@@ -600,6 +600,7 @@
//#define _Deref2_pre_readonly_
#define _Field_range_(min,max)
_SAL2_NAME(_Field_range_) _Group_(_SA_annotes2(SAL_range,min,max))
#define _Field_size_(size)
_SAL2_NAME(_Field_size_) _Group_(_Notnull_ _Writable_elements_(size))
+#define _Field_size_opt_(size)
_SAL2_NAME(_Field_size_opt_) _Group_(_Maybenull_ _Writable_elements_(size))
#define _Field_size_bytes_(size)
_SAL2_NAME(_Field_size_bytes_) _Group_(_Notnull_ _Writable_bytes_(size))
//#define _Field_size_bytes_full_(size)
//#define _Field_size_bytes_full_opt_(size)
@@ -608,7 +609,6 @@
#define _Field_size_bytes_part_opt_(size, count)
_SAL2_NAME(_Field_size_bytes_part_opt_) _Group_(_Maybenull_ _Writable_bytes_(size)
_Readable_bytes_(count))
//#define _Field_size_full_(size)
//#define _Field_size_full_opt_(size)
-//#define _Field_size_opt_(size)
//#define _Field_size_part_(size, count)
//#define _Field_size_part_opt_(size, count)
//#define _Field_z_