doc: Add LIBFPRINT_DEPRECATED to the docs

This commit is contained in:
Bastien Nocera 2018-11-09 15:06:54 +01:00
parent a97ae3bc35
commit 3dc5c4a6de
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<INCLUDE>fprint.h</INCLUDE>
<FILE>events</FILE>
<TITLE>Initialisation and events handling</TITLE>
LIBFPRINT_DEPRECATED
fp_set_debug
fp_init
fp_exit

View file

@ -29,6 +29,13 @@ extern "C" {
#include <unistd.h>
#include <sys/time.h>
/**
* LIBFPRINT_DEPRECATED:
*
* Expands to the GNU C deprecated attribute if the compiler is `gcc`. When
* called with the `-Wdeprecated-declarations` option, `gcc` will generate warnings
* when deprecated interfaces are used.
*/
#define LIBFPRINT_DEPRECATED __attribute__((__deprecated__))
/**