gobject-introspection r148 - in trunk: . tools
- From: robtaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r148 - in trunk: . tools
- Date: Tue, 11 Mar 2008 13:29:19 +0000 (GMT)
Author: robtaylor
Date: Tue Mar 11 13:29:18 2008
New Revision: 148
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=148&view=rev
Log:
2008-03-11 Rob Taylor <rob taylor codethink co uk>
* tools/gidlcompilercontext.c: (write_compiled):
Write out the shlibs variable before writing out the strings
length. Fixes compiler warning when using '-l' flag with
g-idl-compiler
Modified:
trunk/ChangeLog
trunk/tools/gidlcompilercontext.c
Modified: trunk/tools/gidlcompilercontext.c
==============================================================================
--- trunk/tools/gidlcompilercontext.c (original)
+++ trunk/tools/gidlcompilercontext.c Tue Mar 11 13:29:18 2008
@@ -219,6 +219,9 @@
fprintf (compiled, file_header);
fprintf (compiled, gmetadata_header);
+ /* write the shlibs string before we write out the whole string length */
+ g_idl_compiler_write_string (ctx, shlib);
+
/* +1 is for the null byte right at the end of the strings section */
fprintf (compiled, struct_header, ctx->struct_name,
ctx->directory_entries, ctx->string_offset + 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]