mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Updated the doxygen configuration and error.c file.
This commit is contained in:
parent
e8a01ea4ed
commit
5e44a3114d
2 changed files with 4 additions and 5 deletions
|
|
@ -28,6 +28,7 @@ EXTRACT_ALL = NO
|
||||||
EXTRACT_STATIC = NO
|
EXTRACT_STATIC = NO
|
||||||
JAVADOC_AUTOBRIEF = NO
|
JAVADOC_AUTOBRIEF = NO
|
||||||
INHERIT_DOCS = YES
|
INHERIT_DOCS = YES
|
||||||
ENABLED_SECTIONS = "static"
|
ENABLED_SECTIONS = ""
|
||||||
|
PREDEFINED = "DOC_HIDDEN"
|
||||||
|
|
||||||
OPTIMIZE_OUTPUT_FOR_C = YES # doxygen 1.2.6 option
|
OPTIMIZE_OUTPUT_FOR_C = YES # doxygen 1.2.6 option
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,7 @@
|
||||||
#include "local.h"
|
#include "local.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \if static
|
|
||||||
* Array of error codes in US ASCII.
|
* Array of error codes in US ASCII.
|
||||||
* \endif
|
|
||||||
*/
|
*/
|
||||||
static const char *snd_error_codes[] =
|
static const char *snd_error_codes[] =
|
||||||
{
|
{
|
||||||
|
|
@ -59,7 +57,6 @@ const char *snd_strerror(int errnum)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \if static
|
|
||||||
* \brief The default error handler function.
|
* \brief The default error handler function.
|
||||||
* \param file The filename where the error was hit.
|
* \param file The filename where the error was hit.
|
||||||
* \param line The line number.
|
* \param line The line number.
|
||||||
|
|
@ -69,7 +66,6 @@ const char *snd_strerror(int errnum)
|
||||||
* \param ... Optional arguments.
|
* \param ... Optional arguments.
|
||||||
*
|
*
|
||||||
* Prints the error message including location to stderr.
|
* Prints the error message including location to stderr.
|
||||||
* \endif
|
|
||||||
*/
|
*/
|
||||||
static void snd_lib_error_default(const char *file, int line, const char *function, int err, const char *fmt, ...)
|
static void snd_lib_error_default(const char *file, int line, const char *function, int err, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
|
@ -83,10 +79,12 @@ static void snd_lib_error_default(const char *file, int line, const char *functi
|
||||||
va_end(arg);
|
va_end(arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef DOC_HIDDEN
|
||||||
/**
|
/**
|
||||||
* Pointer to the error handler function.
|
* Pointer to the error handler function.
|
||||||
*/
|
*/
|
||||||
snd_lib_error_handler_t *snd_lib_error = snd_lib_error_default;
|
snd_lib_error_handler_t *snd_lib_error = snd_lib_error_default;
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Set the error handler.
|
* \brief Set the error handler.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue