mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
* at the top of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Utility functions
|
||||
/*! \file
|
||||
* \brief Utility functions
|
||||
*/
|
||||
|
||||
#ifndef _ASTERISK_UTILS_H
|
||||
@@ -34,7 +34,9 @@
|
||||
#include "asterisk/time.h"
|
||||
#include "asterisk/strings.h"
|
||||
|
||||
/* Note:
|
||||
/*! \note
|
||||
\verbatim
|
||||
Note:
|
||||
It is very important to use only unsigned variables to hold
|
||||
bit flags, as otherwise you can fall prey to the compiler's
|
||||
sign-extension antics if you try to use the top two bits in
|
||||
@@ -46,13 +48,13 @@
|
||||
type of variable, a warning message similar to this:
|
||||
|
||||
warning: comparison of distinct pointer types lacks cast
|
||||
|
||||
will be generated.
|
||||
|
||||
The "dummy" variable below is used to make these comparisons.
|
||||
|
||||
Also note that at -O2 or above, this type-safety checking
|
||||
does _not_ produce any additional object code at all.
|
||||
\endverbatim
|
||||
*/
|
||||
|
||||
extern unsigned int __unsigned_int_flags_dummy;
|
||||
|
||||
Reference in New Issue
Block a user