Add ABI control using the same technique that is used in GTK+.

2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	Add ABI control using the same technique that is used in GTK+.

	* gobject.symbols: Master list of symbols.

	* gobject.def: Removed. It is now generated from gobject.symbols.

	* Makefile.am (gobject.def): Generate from gobject.symbols.
	(TESTS): Add abicheck.sh
	(EXTRA_DIST): Add abicheck.sh
	(export_symbols): Don't export _-prefixed symbols.

	* gtype.h:
	* gtype.c: Move the declarations of the various _init() functions
	to the header, and mark them as G_GNUC_INTERNAL.
This commit is contained in:
Matthias Clasen
2004-09-16 18:33:02 +00:00
committed by Matthias Clasen
parent b241f9e215
commit 88e7569e65
7 changed files with 369 additions and 337 deletions

View File

@@ -3374,18 +3374,6 @@ g_type_name_from_class (GTypeClass *g_class)
}
/* --- foreign prototypes --- */
extern void g_value_c_init (void); /* sync with gvalue.c */
extern void g_value_types_init (void); /* sync with gvaluetypes.c */
extern void g_enum_types_init (void); /* sync with genums.c */
extern void g_param_type_init (void); /* sync with gparam.c */
extern void g_boxed_type_init (void); /* sync with gboxed.c */
extern void g_object_type_init (void); /* sync with gobject.c */
extern void g_param_spec_types_init (void); /* sync with gparamspecs.c */
extern void g_value_transforms_init (void); /* sync with gvaluetransform.c */
extern void g_signal_init (void); /* sync with gsignal.c */
/* --- initialization --- */
void
g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)