From bf4631bf285d9ba18066c3a406bdcbdfda678dc5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 May 2005 19:32:10 +0000 Subject: [PATCH] Clean up handling of names. All elements have a "name", only the elements 2005-05-09 Matthias Clasen * gidl.dtd: Clean up handling of names. All elements have a "name", only the elements corresponding to actual callable functions (function, method, constructor), have an additional "symbol" attribute holding the dlsym()-able function name. * src/generate.c: Adapt to generate xml matching the new dtd. * src/gidlparser.c: * src/gidlnode.c: Adapt to parse the new dtd. * tests/*.test: Adjust to the new dtd. * metadata-format.txt: * src/gmetadata.h: Remove the short_name field from the ValueBlob. * src/gmetadata.c: Shrink size of ValueBlob to 12. * src/girepository.h: * src/ginfo.c (g_value_info_get_short_name): Removed --- girepository/src/generate.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/girepository/src/generate.c b/girepository/src/generate.c index 7d8636560..2fe3730db 100644 --- a/girepository/src/generate.c +++ b/girepository/src/generate.c @@ -147,7 +147,7 @@ write_field_info (GIFieldInfo *info, size = g_field_info_get_size (info); offset = g_field_info_get_offset (info); - g_print ("