mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
gutils: Move g_ATEXIT() and g_memmove() definitions from glibconfig.h
The definitions weren’t templated in glibconfig.h.in at all, so didn’t vary between configurations of GLib — so they should be in a normal header. Move them to gutils.h and fix the deprecation annotations. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -108,11 +108,6 @@ typedef unsigned @glib_intptr_type_define@ guintptr;
|
||||
#define G_GINTPTR_FORMAT @gintptr_format@
|
||||
#define G_GUINTPTR_FORMAT @guintptr_format@
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
#define g_ATEXIT(proc) (atexit (proc))
|
||||
#define g_memmove(dest,src,len) G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END
|
||||
#endif
|
||||
|
||||
#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@
|
||||
#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@
|
||||
#define GLIB_MICRO_VERSION @GLIB_MICRO_VERSION@
|
||||
|
Reference in New Issue
Block a user