mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-07 16:21:10 +03:00
include: Don't define ATTRIBUTE_UNUSED in public header
Stop polluting namespace with unprefixed names.
This commit is contained in:
@ -19,6 +19,12 @@
|
||||
#include <libxslt/variables.h>
|
||||
#include <libxslt/xsltconfig.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define ATTRIBUTE_UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define ATTRIBUTE_UNUSED
|
||||
#endif
|
||||
|
||||
#define Pystylesheet_Get(v) (((v) == Py_None) ? NULL : \
|
||||
(((Pystylesheet_Object *)(v))->obj))
|
||||
|
||||
|
Reference in New Issue
Block a user