"Fossies" - the Fresh Open Source Software Archive 
Member "libextractor-1.11/src/intlemu/libintlemu.h" (30 Jan 2021, 776 Bytes) of package /linux/privat/libextractor-1.11.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "libintlemu.h" see the
Fossies "Dox" file reference documentation.
1 /*
2 * libintlemu - A Core Foundation libintl emulator
3 * Copyright Copyright (C) 2008 Heikki Lindholm <holin@iki.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 */
10
11 #ifndef LIBINTLEMU_H
12 #define LIBINTLEMU_H
13
14 #include <CoreFoundation/CoreFoundation.h>
15
16 #define gettext(msgid) \
17 intlemu_bgettext (CFBundleGetMainBundle (), msgid)
18
19 #define dgettext(domainname, msgid) \
20 intlemu_bgettext (CFBundleGetBundleWithIdentifier (CFSTR (domainname)), msgid)
21
22 #define gettext_noop(s) s
23
24 extern char *intlemu_bgettext (CFBundleRef bundle, const char *msgid);
25
26 #endif