Change the "length of bstream" data type to be a gsize, since it represents
[pidgin-git.git] / finch / libgnt / gntinternal.h
blob79c88363465f5c2c9b46153d0ab1bb6cb166cde5
1 /*
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
6 * source distribution.
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
22 #include <glib.h>
23 #undef G_LOG_DOMAIN
24 #define G_LOG_DOMAIN "Gnt"
26 #ifdef __GNUC__
27 # ifndef GNT_LOG_DOMAIN
28 # define GNT_LOG_DOMAIN ""
29 # endif
30 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args)
31 #else /* __GNUC__ */
32 # define gnt_warning g_warning
33 #endif
35 #ifndef G_GNUC_NULL_TERMINATED
36 # if defined(__GNUC__) && __GNUC__ >= 4
37 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
38 # else
39 # define G_GNUC_NULL_TERMINATED
40 # endif
41 #endif
43 extern int gnt_need_conversation_to_locale;
44 extern const char *C_(const char *x);