00001 /* 00002 * GNT - The GLib Ncurses Toolkit 00003 * 00004 * GNT is the legal property of its developers, whose names are too numerous 00005 * to list here. Please refer to the COPYRIGHT file distributed with this 00006 * source distribution. 00007 * 00008 * This library is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 00021 */ 00022 #include <glib.h> 00023 #undef G_LOG_DOMAIN 00024 #define G_LOG_DOMAIN "Gnt" 00025 00026 #ifdef __GNUC__ 00027 # ifndef GNT_LOG_DOMAIN 00028 # define GNT_LOG_DOMAIN "" 00029 # endif 00030 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) 00031 #else /* __GNUC__ */ 00032 # define gnt_warning g_warning 00033 #endif 00034 00035 #ifndef G_GNUC_NULL_TERMINATED 00036 # if defined(__GNUC__) && __GNUC__ >= 4 00037 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) 00038 # else 00039 # define G_GNUC_NULL_TERMINATED 00040 # endif 00041 #endif 00042 00043 extern int gnt_need_conversation_to_locale; 00044 extern const char *C_(const char *x); 00045