add functions param details for msvc code analysis.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6902 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-12-19 15:36:07 +00:00
parent 8a9ac53124
commit 899b5fd066
2 changed files with 23 additions and 7 deletions
+14
View File
@@ -296,6 +296,20 @@ SWITCH_END_EXTERN_C
#ifndef switch_assert
#define switch_assert(expr) assert(expr)
#endif
#ifndef __ATTR_SAL
/* used for msvc code analysis */
/* http://msdn2.microsoft.com/en-us/library/ms235402.aspx */
#define _In_
#define _In_z_
#define _In_opt_z_
#define _Printf_format_string_
#define _Ret_opt_z_
#define _Ret_z_
#define _Check_return_
#endif
/* For Emacs:
* Local Variables:
* mode:c