mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-07 22:20:05 +02:00
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-14 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gobjectalias.h: * gobject.symbols: Group symbols by header and source file. * makegobjectalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegalias.pl -def * Makefile.am (gobjectaliasdef.c): Add a rule to build this file. * *.c: Include gobjectalias.h after the other i GLib headers, include gobjectaliasdef.c at the bottom.
This commit is contained in:
committed by
Matthias Clasen
parent
447f2b0917
commit
fc28997f23
@@ -17,13 +17,13 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "gobjectalias.h"
|
||||
#include "gsourceclosure.h"
|
||||
#include "gboxed.h"
|
||||
#include "genums.h"
|
||||
#include "gmarshal.h"
|
||||
#include "gvalue.h"
|
||||
#include "gvaluetypes.h"
|
||||
#include "gobjectalias.h"
|
||||
|
||||
GType
|
||||
g_io_channel_get_type (void)
|
||||
@@ -190,3 +190,6 @@ g_source_set_closure (GSource *source,
|
||||
g_closure_set_marshal (closure, marshal);
|
||||
}
|
||||
}
|
||||
|
||||
#define __G_SOURCE_CLOSURE_C__
|
||||
#include "gobjectaliasdef.c"
|
||||
|
Reference in New Issue
Block a user