macros.h 358 Bytes
Newer Older
1
/* SPDX-License-Identifier: Zlib */
2 3 4 5 6 7 8 9

#ifndef ZATHURA_MACROS_H
#define ZATHURA_MACROS_H

#include <girara/macros.h>

#define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
10
#define ZATHURA_PLUGIN_API GIRARA_VISIBLE
11

Sebastian Ramacher's avatar
Sebastian Ramacher committed
12 13 14 15 16 17 18 19
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif

#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif

20
#endif