vala r919 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r919 - in trunk: . vala
- Date: Mon, 28 Jan 2008 20:29:20 +0000 (GMT)
Author: juergbi
Date: Mon Jan 28 20:29:20 2008
New Revision: 919
URL: http://svn.gnome.org/viewvc/vala?rev=919&view=rev
Log:
2008-01-28 Juerg Billeter <j bitron ch>
* vala/valainterfacewriter.vala: support [NoWrapper] attribute for
virtual methods
Modified:
trunk/ChangeLog
trunk/vala/valainterfacewriter.vala
Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala (original)
+++ trunk/vala/valainterfacewriter.vala Mon Jan 28 20:29:20 2008
@@ -490,7 +490,11 @@
if (!check_accessibility (m) || m.overrides || m.base_interface_method != null) {
return;
}
-
+
+ if (m.get_attribute ("NoWrapper") != null) {
+ write_indent ();
+ write_string ("[NoWrapper]");
+ }
if (m.no_array_length) {
bool array_found = (m.return_type is ArrayType);
foreach (FormalParameter param in m.get_parameters ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]