CUnit Programmers Reference
3.0
CUnit
CUnit
CUnit_intl.h
Go to the documentation of this file.
1
/*
2
* CUnit - A Unit testing framework library for C.
3
* Copyright (C) 2006 Jerry St.Clair
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
*
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
/*
21
* Internationalization support
22
*
23
* 05-May-2006 Initial implementation. (JDS)
24
*/
25
34
#ifndef CUNIT_CUNIT_INTL_H_SEEN
35
#define CUNIT_CUNIT_INTL_H_SEEN
36
37
/* activate these when source preparation is complete
38
#include <libintl.h>
39
#ifndef _
40
# define _(String) gettext (String)
41
#endif
42
#ifndef gettext_noop
43
# define gettext_noop(String) String
44
#endif
45
#ifndef N_
46
# define N_(String) gettext_noop (String)
47
#endif
48
*/
49
50
/* deactivate these when source preparation is complete */
51
#undef _
52
#define _(String) (String)
53
#undef N_
54
#define N_(String) String
55
#undef textdomain
56
#define textdomain(Domain)
57
#undef bindtextdomain
58
#define bindtextdomain(Package, Directory)
59
60
#endif
/* CUNIT_CUNIT_INTL_H_SEEN */
61
Generated by
1.9.1