+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
+Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h
+ * gstrfuncs.c: added g_memdup implementation
+
Fri Sep 18 18:46:14 1998 Tim Janik <timj@gtk.org>
* glib.h:
guint g_printf_string_upper_bound (const gchar* format,
va_list args);
+guint8* g_memdup (const guint8 *mem,
+ guint len);
+
/* Retrive static string info
*/
guint g_printf_string_upper_bound (const gchar* format,
va_list args);
+guint8* g_memdup (const guint8 *mem,
+ guint len);
+
/* Retrive static string info
*/
return new_str;
}
+guint8*
+g_memdup (const guint8 *mem,
+ guint len)
+{
+ guint8* mem2 = g_malloc (len);
+ memcpy (mem2, mem, len);
+ return mem2;
+}
+
gchar*
g_strndup (const gchar *str,
guint n)
return new_str;
}
+guint8*
+g_memdup (const guint8 *mem,
+ guint len)
+{
+ guint8* mem2 = g_malloc (len);
+ memcpy (mem2, mem, len);
+ return mem2;
+}
+
gchar*
g_strndup (const gchar *str,
guint n)