mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
Merge in the gir-compiler branch. Thanks to Philip and Colin for their
2008-08-08 Johan Dahlin <johan@gnome.org> * girepository/gtypelib.c (validate_header): * girepository/gtypelib.h: * giscanner/ast.py: * giscanner/girwriter.py: * giscanner/sourcescanner.c (gi_source_symbol_ref), (gi_source_symbol_unref): * tests/array.test: * tests/boxed.test: * tests/constant.test: * tests/enum.test: * tests/errors.test: * tests/function.test: * tests/gobject.test: * tests/interface.test: * tests/invoke/Makefile.am: * tests/invoke/testfns.xml: * tests/object.test: * tests/parser/Makefile.am: * tests/roundtrips.sh: * tests/struct.test: * tests/types.test: * tests/union.test: * tests/xref1.test: * tests/xref2.test: * tools/Makefile.am: * tools/compiler.c (main): * tools/generate.c (write_callable_info), (write_function_info), (write_repository): * tools/gidlmodule.c: * tools/gidlmodule.h: * tools/gidlnode.c: * tools/gidlnode.h: * tools/gidlparser.c: * tools/gidlparser.h: * tools/gidlwriter.c: * tools/gidlwriter.h: * tools/scanner.c (create_node_from_gtype), (create_node_from_ctype), (g_igenerator_process_properties), (g_igenerator_process_signals), (g_igenerator_create_object), (g_igenerator_create_interface), (g_igenerator_create_boxed), (g_igenerator_create_enum), (g_igenerator_create_flags), (g_igenerator_process_function_symbol), (g_igenerator_process_unregistered_struct_typedef), (g_igenerator_process_struct_typedef), (g_igenerator_process_union_typedef), (g_igenerator_process_enum_typedef), (g_igenerator_process_function_typedef), (g_igenerator_process_constant), (g_igenerator_process_symbols), (g_igenerator_add_module), (g_igenerator_add_include_idl): Merge in the gir-compiler branch. Thanks to Philip and Colin for their help. svn path=/trunk/; revision=325
This commit is contained in:
parent
abf9c86431
commit
e1c3498df8
@ -113,7 +113,7 @@ validate_header (GTypelib *metadata,
|
||||
|
||||
header = (Header *)metadata->data;
|
||||
|
||||
if (strncmp (header->magic, G_IDL_MAGIC, 16) != 0)
|
||||
if (strncmp (header->magic, G_IR_MAGIC, 16) != 0)
|
||||
{
|
||||
g_set_error (error,
|
||||
G_TYPELIB_ERROR,
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_IDL_MAGIC "GOBJ\nMETADATA\r\n\032"
|
||||
#define G_IR_MAGIC "GOBJ\nMETADATA\r\n\032"
|
||||
|
||||
enum
|
||||
{
|
||||
@ -126,7 +126,10 @@ typedef enum
|
||||
TYPE_TAG_LIST = 22,
|
||||
TYPE_TAG_SLIST = 23,
|
||||
TYPE_TAG_HASH = 24,
|
||||
TYPE_TAG_ERROR = 25
|
||||
TYPE_TAG_ERROR = 25,
|
||||
TYPE_TAG_STRING = 26,
|
||||
TYPE_TAG_SEQUENCE = 27,
|
||||
TYPE_TAG_ANY = 28
|
||||
} TypeTag;
|
||||
|
||||
typedef union
|
||||
|
Loading…
x
Reference in New Issue
Block a user