CAPS Universe documentation
1.0.4
All you need to know to be successful
Introduction
Manuals
CAPS API in Detail
Data Structures
Source file list
CAPS source files
libcapsmime
src
libcapsmime-local.h
Go to the documentation of this file.
1
#pragma once
2
3
/*
4
* SPDX-License-Identifier: LGPL-2.1-or-later
5
*
6
* (c) 2018 Juergen Borleis <projects@caps-printing.org>
7
*
8
* This library is free software; you can redistribute it and/or modify it under
9
* the terms of the GNU General Public License as published by the Free
10
* Software Foundation; either version 2 of the License, or (at your option)
11
* any later version.
12
*
13
* This program is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16
*/
17
19
#ifdef DEBUG
20
# define caps_print_debug(fmt, ...) caps_print_debug_template(fmt, ##__VA_ARGS__)
21
#else
22
# define caps_print_debug(fmt, ...)
23
#endif
24
25
#ifdef DSO_HIDDEN
26
# define DSO_VISIBLE __attribute__ ((visibility("default"
)))
27
#else
28
# define DSO_VISIBLE
29
#endif
/* DSO_HIDDEN */
30
31
#ifdef ENABLE_NLS
32
33
# ifndef PACKAGE
34
# error "Missing 'PACKAGE' macro: include 'config.h' first"
35
# endif
/* PACKAGE */
36
37
# define _(string) dgettext(PACKAGE, string)
38
# include <libintl.h>
39
40
#else
/* ENABLE_NLS */
41
42
# define _(string) (string)
43
44
#endif
/* ENABLE_NLS */
45
46
#define NLS_(string) (string)
47
The total CAPS universe documentation - Generated by