mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 10:45:13 +01:00
Changed prototype of printf_string_upper_bound to return gsize. Now
* glib/gmessages.c: Changed prototype of printf_string_upper_bound to return gsize. Now matches the actual function body. * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 from gint to gssize. Now matches the prototype in gstrfuncs.h.
This commit is contained in:
parent
624a3c9689
commit
a0832f025f
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-07-12 Mark Murnane <Mark.Murnane@sun.com>
|
||||||
|
|
||||||
|
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
|
||||||
|
to return gsize. Now matches the actual function body.
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
|
||||||
|
from gint to gssize. Now matches the prototype in gstrfuncs.h.
|
||||||
|
|
||||||
2001-07-11 Darin Adler <darin@bentspoon.com>
|
2001-07-11 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* .cvsignore: Add some generated files.
|
* .cvsignore: Add some generated files.
|
||||||
|
@ -71,7 +71,7 @@ struct _GLogHandler
|
|||||||
|
|
||||||
|
|
||||||
/* --- prototypes --- */
|
/* --- prototypes --- */
|
||||||
static guint printf_string_upper_bound (const gchar *format,
|
static gsize printf_string_upper_bound (const gchar *format,
|
||||||
gboolean may_warn,
|
gboolean may_warn,
|
||||||
va_list args);
|
va_list args);
|
||||||
|
|
||||||
|
@ -1879,7 +1879,7 @@ g_strrstr (const gchar *haystack,
|
|||||||
**/
|
**/
|
||||||
gchar *
|
gchar *
|
||||||
g_strrstr_len (const gchar *haystack,
|
g_strrstr_len (const gchar *haystack,
|
||||||
gint haystack_len,
|
gssize haystack_len,
|
||||||
const gchar *needle)
|
const gchar *needle)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (haystack != NULL, NULL);
|
g_return_val_if_fail (haystack != NULL, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user