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:
Tor Lillqvist
2000-07-26 15:39:44 +00:00
committed by Tor Lillqvist
parent f0cdf86878
commit 42d1962199
13 changed files with 81 additions and 10 deletions

View File

@@ -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))