mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
Return 0 on error, not NULL.
2000-07-26 Tor Lillqvist <tml@iki.fi> * gstrfuncs.c (g_strlcpy, g_strlcat): Return 0 on error, not NULL. * glib.def: Add g_strlcpy, g_strlcat. * glibconfig.h.win32.in: Add gsize and gssize.
This commit is contained in:
committed by
Tor Lillqvist
parent
f0cdf86878
commit
42d1962199
@@ -82,6 +82,9 @@ typedef unsigned long long guint64;
|
||||
#define G_GINT64_FORMAT "I64i"
|
||||
#define G_GUINT64_FORMAT "I64u"
|
||||
|
||||
typedef gint32 gssize;
|
||||
typedef guint32 gsize;
|
||||
|
||||
#define GPOINTER_TO_INT(p) ((gint)(p))
|
||||
#define GPOINTER_TO_UINT(p) ((guint)(p))
|
||||
|
||||
|
Reference in New Issue
Block a user