Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
unused.h
Go to the documentation of this file.
1
4
5
#pragma once
6
16
#ifdef __GNUC__
// Clang and GCC
17
#define UNUSED __attribute__((unused))
18
#elif defined(_MSC_VER)
// MSVC
19
#define UNUSED \
20
__pragma(warning(suppress : 4100
/* unreferenced formal parameter */
\
21
4101
/* unreferenced local variable */
\
22
4505
/* unreferenced local function */
\
23
))
24
#else
25
#define UNUSED
/* nothing */
26
#endif
27
38
#ifdef __GNUC__
// Clang and GCC
39
#define WUR __attribute__((warn_unused_result))
40
#elif defined(_MSC_VER)
// MSVC
41
#define WUR _Check_return_
42
#else
43
#define WUR
/* nothing */
44
#endif
lib
util
unused.h
Generated by
1.9.8