2 * GNT - The GLib Ncurses Toolkit
4 * GNT is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
8 * This library is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 #define G_LOG_DOMAIN "Gnt"
27 # ifndef GNT_LOG_DOMAIN
28 # define GNT_LOG_DOMAIN ""
30 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args)
32 # define gnt_warning g_warning
35 #ifndef G_GNUC_NULL_TERMINATED
36 # if defined(__GNUC__) && __GNUC__ >= 4
37 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
39 # define G_GNUC_NULL_TERMINATED
43 extern int gnt_need_conversation_to_locale
;
44 extern const char *C_(const char *x
);