docs/reference/glib/glib-sections.txt: Add g_mem_is_system_malloc.
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * gmem.c (g_mem_is_system_malloc): Return !vtable_set.
+
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: Retract my change earlier today. Don't preset
+2001-09-26 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/glib-sections.txt: Add g_mem_is_system_malloc.
+
2001-09-25 Matthias Clasen <matthiasc@poet.de>
- * glib/glib-section.txt: Add a missing SECTION
+ * glib/glib-sections.txt: Add a missing SECTION
endtag. (#61126)
2001-09-17 Darin Adler <darin@bentspoon.com>
<SUBSECTION>
GMemVTable
g_mem_set_vtable
+g_mem_is_system_malloc
<SUBSECTION>
glib_mem_profiler_table
g_mem_profile
-
</SECTION>
<SECTION>
*
* Checks whether the allocator used by g_malloc() is the system's
* malloc implementation. If it returns %TRUE memory allocated with
- * malloc() can be used interchangeable with memory allocated using
- * g_malloc(). This function is useful for avoiding an extra copy
- * of allocated memory returned by a non-GLib-based API.
+ * <function>malloc()</function> can be used interchangeable with
+ * memory allocated using g_malloc(). This function is useful for
+ * avoiding an extra copy of allocated memory returned by a
+ * non-GLib-based API.
*
* A different allocator can be set using g_mem_set_vtable().
*
- * Return value: if %TRUE, malloc() and g_malloc() can be mixed.
+ * Return value: if %TRUE, <function>malloc()</function> and g_malloc() can be mixed.
**/
gboolean
g_mem_is_system_malloc (void)
{
- return vtable_set;
+ return !vtable_set;
}
void