1998-06-11 01:21:14 +02:00
|
|
|
|
/* GLIB - Library of useful routines for C programming
|
|
|
|
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Library General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
|
*/
|
|
|
|
|
/* acconfig.h
|
|
|
|
|
This file is in the public domain.
|
|
|
|
|
|
|
|
|
|
Descriptive text for the C preprocessor macros that
|
|
|
|
|
the distributed Autoconf macros can define.
|
|
|
|
|
No software package will use all of them; autoheader copies the ones
|
|
|
|
|
your configure.in uses into your configuration header file templates.
|
|
|
|
|
|
|
|
|
|
The entries are in sort -df order: alphabetical, case insensitive,
|
|
|
|
|
ignoring punctuation (such as underscores). Although this order
|
|
|
|
|
can split up related entries, it makes it easier to check whether
|
|
|
|
|
a given entry is in the file.
|
|
|
|
|
|
|
|
|
|
Leave the following blank line there!! Autoheader needs it. */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Other stuff */
|
|
|
|
|
|
|
|
|
|
#undef ENABLE_MEM_CHECK
|
|
|
|
|
#undef ENABLE_MEM_PROFILE
|
|
|
|
|
|
|
|
|
|
#undef G_COMPILED_WITH_DEBUGGING
|
|
|
|
|
#undef HAVE_BROKEN_WCTYPE
|
|
|
|
|
#undef HAVE_DOPRNT
|
|
|
|
|
#undef HAVE_FLOAT_H
|
|
|
|
|
#undef HAVE_LIMITS_H
|
|
|
|
|
#undef HAVE_LONG_DOUBLE
|
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
#undef HAVE_STRSIGNAL
|
|
|
|
|
#undef HAVE_VSNPRINTF
|
|
|
|
|
#undef HAVE_VALUES_H
|
|
|
|
|
#undef HAVE_VPRINTF
|
|
|
|
|
#undef HAVE_WCHAR_H
|
|
|
|
|
#undef HAVE_WCTYPE_H
|
|
|
|
|
|
|
|
|
|
#undef NO_FD_SET
|
|
|
|
|
#undef NO_SYS_ERRLIST
|
|
|
|
|
#undef NO_SYS_SIGLIST
|
|
|
|
|
|
|
|
|
|
#undef SIZEOF_CHAR
|
|
|
|
|
#undef SIZEOF_SHORT
|
|
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
#undef SIZEOF_INT
|
|
|
|
|
#undef SIZEOF_VOID_P
|
|
|
|
|
|
removed this function which was not publically exported in glib.h. to
Mon Aug 24 02:08:56 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstring.c:
* gstrfuncs.c:
(g_vsprintf): removed this function which was not publically
exported in glib.h. to export it, it should have been named
differently in the first place, since its semantics differ from
vsprintf(). apart from that, it was a possible cause for
problems since it worked on a previously allocated memory area and
was used in a lot places of glib. exporting it would have been a
guararant for problems with threaded programs.
(g_printf_string_upper_bound): exported this function to return
a string size, guarranteed to be big enough to hold the fully
expanded format+args string. added 'q', 'L' and 'll' flag handling.
in fact, the newly allocated area is in most cases much bigger than
required.
(g_strdup_vprintf()): new function returning a newly allocated string
containing the contents of *format and associated args (size is
calculated with g_printf_string_upper_bound()).
(g_strdup_printf): new function which wraps g_strdup_vprintf().
* configure.in: check for va_copy() or __va_copy() alternatively.
check whether va_lists can be copyied by value.
* glib.h: provide a definition for G_VA_COPY.
* glib.h:
* gmessages.c:
(g_logv):
(g_vsnprintf):
pass va_lists by value, not by reference, since this causes problems
on platforms that implement va_list as as arrays. internaly, use
G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
va_list variable, if multiple passes are required. changed all
callers.
* glib.h:
* gerror.h:
renamed g_debug() to g_on_error_query(), cleaned up a bit.
renamed g_stack_trace() to g_on_error_stack_trace() since both
functions cluttered different namespaces.
there is an appropriate comment in glib.h now that explains the
unix and gdb specific dependencies of both functions.
removed g_attach_process().
g_on_error_stack_trace() should probably be handled with caution,
i've seem several different linux versions (2.0.x) become unstable
after invokation of this function.
1998-08-24 07:26:53 +02:00
|
|
|
|
#undef G_VA_COPY
|
|
|
|
|
#undef G_VA_COPY_AS_ARRAY
|
1998-09-07 11:43:54 +02:00
|
|
|
|
#undef G_HAVE___INLINE
|
|
|
|
|
#undef G_HAVE___INLINE__
|
|
|
|
|
#undef G_HAVE_INLINE
|
removed this function which was not publically exported in glib.h. to
Mon Aug 24 02:08:56 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstring.c:
* gstrfuncs.c:
(g_vsprintf): removed this function which was not publically
exported in glib.h. to export it, it should have been named
differently in the first place, since its semantics differ from
vsprintf(). apart from that, it was a possible cause for
problems since it worked on a previously allocated memory area and
was used in a lot places of glib. exporting it would have been a
guararant for problems with threaded programs.
(g_printf_string_upper_bound): exported this function to return
a string size, guarranteed to be big enough to hold the fully
expanded format+args string. added 'q', 'L' and 'll' flag handling.
in fact, the newly allocated area is in most cases much bigger than
required.
(g_strdup_vprintf()): new function returning a newly allocated string
containing the contents of *format and associated args (size is
calculated with g_printf_string_upper_bound()).
(g_strdup_printf): new function which wraps g_strdup_vprintf().
* configure.in: check for va_copy() or __va_copy() alternatively.
check whether va_lists can be copyied by value.
* glib.h: provide a definition for G_VA_COPY.
* glib.h:
* gmessages.c:
(g_logv):
(g_vsnprintf):
pass va_lists by value, not by reference, since this causes problems
on platforms that implement va_list as as arrays. internaly, use
G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
va_list variable, if multiple passes are required. changed all
callers.
* glib.h:
* gerror.h:
renamed g_debug() to g_on_error_query(), cleaned up a bit.
renamed g_stack_trace() to g_on_error_stack_trace() since both
functions cluttered different namespaces.
there is an appropriate comment in glib.h now that explains the
unix and gdb specific dependencies of both functions.
removed g_attach_process().
g_on_error_stack_trace() should probably be handled with caution,
i've seem several different linux versions (2.0.x) become unstable
after invokation of this function.
1998-08-24 07:26:53 +02:00
|
|
|
|
|
1998-06-11 01:21:14 +02:00
|
|
|
|
#undef GLIB_MAJOR_VERSION
|
|
|
|
|
#undef GLIB_MINOR_VERSION
|
|
|
|
|
#undef GLIB_MICRO_VERSION
|
version bump to 1.1.1, binary age 1, interface age 0. updates. updates.
Tue Aug 4 15:17:54 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.1, binary age 1, interface age 0.
* NEWS: updates.
* README: updates.
* INSTALL: updates and fixes.
* COPYING: include the GNU LGPL, rather than shipping an empty file.
* AUTHORS: listed original authors here, and added people who made
significant improvements to glib.
* glib.h:
* gutils.c: implement g_get_current_dir() which returns a newly
allocated string, instead of a g_getcwd() variant that operates
on a static buffer.
export glib_interface_age and glib_binary_age.
as a convenience, macro definitions have been added for
g_node_insert_data, g_node_insert_data_before, g_node_append_data and
g_node_prepend_data.
* testglib.c: minor cleanups, print current dir.
1998-08-04 16:26:27 +02:00
|
|
|
|
#undef GLIB_INTERFACE_AGE
|
|
|
|
|
#undef GLIB_BINARY_AGE
|
1998-06-11 01:21:14 +02:00
|
|
|
|
|
|
|
|
|
/* #undef PACKAGE */
|
|
|
|
|
/* #undef VERSION */
|
|
|
|
|
|
1998-09-07 11:43:54 +02:00
|
|
|
|
|
|
|
|
|
|
1998-06-11 01:21:14 +02:00
|
|
|
|
|
|
|
|
|
/* Leave that blank line there!! Autoheader needs it.
|
|
|
|
|
If you're adding to this file, keep in mind:
|
|
|
|
|
The entries are in sort -df order: alphabetical, case insensitive,
|
|
|
|
|
ignoring punctuation (such as underscores). */
|