Buffers Files Tools Edit Search Mule Help Thu...
authorOwen Taylor <otaylor@src.gnome.org>
Thu, 28 Jun 2001 21:45:02 +0000 (21:45 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 28 Jun 2001 21:45:02 +0000 (21:45 +0000)
        * glib/tmpl/memory.sgml glib/tmpl/macros_misc.sgml: Add
notes about inclusion of string.h to docs on g_memmove,
        G_VA_COPY. (#54411)

docs/reference/ChangeLog
docs/reference/glib/tmpl/macros_misc.sgml
docs/reference/glib/tmpl/memory.sgml

index 59e0007..940129d 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jun 28 17:43:29 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/tmpl/memory.sgml glib/tmpl/macros_misc.sgml: Add
+       notes about inclusion of string.h to docs on g_memmove,
+       G_VA_COPY. (#54411)
+
 Tue Jun 26 12:28:20 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/Makefile.am: Fix problem with glibconfig.h
index cd71ee7..1fd647e 100644 (file)
@@ -70,6 +70,11 @@ arrays or arrays on the stack.
 <para>
 Portable way to copy <type>va_list</type> variables.
 </para>
+<para>
+In order to use this function, you must include string.h yourself,
+because this macro may use memmove() and GLib does not include
+string.h for you.
+</para>
 
 <!-- # Unused Parameters # -->
 @ap1: the <type>va_list</type> variable to place a copy of @ap2 in.
index 79def9f..1df03a0 100644 (file)
@@ -150,12 +150,11 @@ stack frame is cleaned up.
 Copies a block of memory @n bytes long, from @s to @d.
 The source and destination areas may overlap.
 </para>
-<note>
 <para>
-On architectures where memmove() is not available, this function is implemented
-using bcopy(), which may not be able to handle overlapping areas.
+In order to use this function, you must include string.h
+yourself, because this macro will typically simply resolve
+to memmove() and GLib does not include string.h for you.
 </para>
-</note>
 
 @d: the destination address to copy the bytes to.
 @s: the source address to copy the bytes from.