mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
Add a few missing G_GNUC_CONST's.
Add a few missing G_GNUC_CONST's.
This commit is contained in:
parent
8dd96cd0b7
commit
723ef16447
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
@ -1,3 +1,6 @@
|
||||
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
|
||||
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
|
||||
|
||||
2000-09-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* makefile.mingw.in: Add gconvert.o. Use libiconv.
|
||||
|
2
garray.c
2
garray.c
@ -55,7 +55,7 @@ struct _GRealArray
|
||||
g_array_elt_zero ((array), (array)->len, 1); \
|
||||
}G_STMT_END
|
||||
|
||||
static gint g_nearest_pow (gint num);
|
||||
static gint g_nearest_pow (gint num) G_GNUC_CONST;
|
||||
static void g_array_maybe_expand (GRealArray *array,
|
||||
gint len);
|
||||
|
||||
|
16
glib.h
16
glib.h
@ -1683,8 +1683,8 @@ gchar* g_strcanon (gchar *string,
|
||||
gchar subsitutor);
|
||||
gdouble g_strtod (const gchar *nptr,
|
||||
gchar **endptr);
|
||||
gchar* g_strerror (gint errnum);
|
||||
gchar* g_strsignal (gint signum);
|
||||
gchar* g_strerror (gint errnum) G_GNUC_CONST;
|
||||
gchar* g_strsignal (gint signum) G_GNUC_CONST;
|
||||
gint g_strcasecmp (const gchar *s1,
|
||||
const gchar *s2);
|
||||
gint g_strncasecmp (const gchar *s1,
|
||||
@ -2509,14 +2509,14 @@ void g_date_free (GDate *date);
|
||||
* return to validity).
|
||||
*/
|
||||
gboolean g_date_valid (GDate *date);
|
||||
gboolean g_date_valid_day (GDateDay day);
|
||||
gboolean g_date_valid_month (GDateMonth month);
|
||||
gboolean g_date_valid_year (GDateYear year);
|
||||
gboolean g_date_valid_weekday (GDateWeekday weekday);
|
||||
gboolean g_date_valid_julian (guint32 julian_date);
|
||||
gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST;
|
||||
gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST;
|
||||
gboolean g_date_valid_year (GDateYear year) G_GNUC_CONST;
|
||||
gboolean g_date_valid_weekday (GDateWeekday weekday) G_GNUC_CONST;
|
||||
gboolean g_date_valid_julian (guint32 julian_date) G_GNUC_CONST;
|
||||
gboolean g_date_valid_dmy (GDateDay day,
|
||||
GDateMonth month,
|
||||
GDateYear year);
|
||||
GDateYear year) G_GNUC_CONST;
|
||||
|
||||
GDateWeekday g_date_weekday (GDate *date);
|
||||
GDateMonth g_date_month (GDate *date);
|
||||
|
@ -55,7 +55,7 @@ struct _GRealArray
|
||||
g_array_elt_zero ((array), (array)->len, 1); \
|
||||
}G_STMT_END
|
||||
|
||||
static gint g_nearest_pow (gint num);
|
||||
static gint g_nearest_pow (gint num) G_GNUC_CONST;
|
||||
static void g_array_maybe_expand (GRealArray *array,
|
||||
gint len);
|
||||
|
||||
|
16
glib/glib.h
16
glib/glib.h
@ -1683,8 +1683,8 @@ gchar* g_strcanon (gchar *string,
|
||||
gchar subsitutor);
|
||||
gdouble g_strtod (const gchar *nptr,
|
||||
gchar **endptr);
|
||||
gchar* g_strerror (gint errnum);
|
||||
gchar* g_strsignal (gint signum);
|
||||
gchar* g_strerror (gint errnum) G_GNUC_CONST;
|
||||
gchar* g_strsignal (gint signum) G_GNUC_CONST;
|
||||
gint g_strcasecmp (const gchar *s1,
|
||||
const gchar *s2);
|
||||
gint g_strncasecmp (const gchar *s1,
|
||||
@ -2509,14 +2509,14 @@ void g_date_free (GDate *date);
|
||||
* return to validity).
|
||||
*/
|
||||
gboolean g_date_valid (GDate *date);
|
||||
gboolean g_date_valid_day (GDateDay day);
|
||||
gboolean g_date_valid_month (GDateMonth month);
|
||||
gboolean g_date_valid_year (GDateYear year);
|
||||
gboolean g_date_valid_weekday (GDateWeekday weekday);
|
||||
gboolean g_date_valid_julian (guint32 julian_date);
|
||||
gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST;
|
||||
gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST;
|
||||
gboolean g_date_valid_year (GDateYear year) G_GNUC_CONST;
|
||||
gboolean g_date_valid_weekday (GDateWeekday weekday) G_GNUC_CONST;
|
||||
gboolean g_date_valid_julian (guint32 julian_date) G_GNUC_CONST;
|
||||
gboolean g_date_valid_dmy (GDateDay day,
|
||||
GDateMonth month,
|
||||
GDateYear year);
|
||||
GDateYear year) G_GNUC_CONST;
|
||||
|
||||
GDateWeekday g_date_weekday (GDate *date);
|
||||
GDateMonth g_date_month (GDate *date);
|
||||
|
@ -125,7 +125,7 @@ struct _GRealMemChunk
|
||||
|
||||
|
||||
static gulong g_mem_chunk_compute_size (gulong size,
|
||||
gulong min_size);
|
||||
gulong min_size) G_GNUC_CONST;
|
||||
static gint g_mem_chunk_area_compare (GMemArea *a,
|
||||
GMemArea *b);
|
||||
static gint g_mem_chunk_area_search (GMemArea *a,
|
||||
|
Loading…
Reference in New Issue
Block a user