vala r2424 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2424 - in trunk: . gobject
- Date: Mon, 9 Feb 2009 16:13:17 +0000 (UTC)
Author: juergbi
Date: Mon Feb 9 16:13:16 2009
New Revision: 2424
URL: http://svn.gnome.org/viewvc/vala?rev=2424&view=rev
Log:
2009-02-09 JÃrg Billeter <j bitron ch>
* gobject/valaccodedelegatemodule.vala:
Emit delegate documentation to the C header files
Modified:
trunk/ChangeLog
trunk/gobject/valaccodedelegatemodule.vala
Modified: trunk/gobject/valaccodedelegatemodule.vala
==============================================================================
--- trunk/gobject/valaccodedelegatemodule.vala (original)
+++ trunk/gobject/valaccodedelegatemodule.vala Mon Feb 9 16:13:16 2009
@@ -75,8 +75,14 @@
var ctypedef = new CCodeTypeDefinition (d.return_type.get_cname (), cfundecl);
if (!d.is_internal_symbol ()) {
+ if (d.source_reference != null && d.source_reference.comment != null) {
+ header_type_declaration.append (new CCodeComment (d.source_reference.comment));
+ }
header_type_declaration.append (ctypedef);
} else {
+ if (d.source_reference != null && d.source_reference.comment != null) {
+ source_type_declaration.append (new CCodeComment (d.source_reference.comment));
+ }
source_type_declaration.append (ctypedef);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]